exojax.plot package
Submodules
exojax.plot.atmplot module
plotting tool for atmospheric structure.
- exojax.plot.atmplot.factor_labelx_for_unit()
- exojax.plot.atmplot.imshow_custom(vmin, vmax, ltau, extent, ax)
- exojax.plot.atmplot.plot_maxpoint(mask, Parr, maxcf, maxcia, mol='CO')
Plotting max contribution function points.
- Parameters:
mask – weak line mask
Parr – Paressure array
maxcf – max contribution function of the molecules
maxcia – max contribution function of CIA
mol – molecular name
- exojax.plot.atmplot.plotcf(nus, dtauM, Tarr, Parr, dParr, unit='cm-1', log=False, normalize=True, cmap='bone_r', optarr=None, leftxlabel='Warning: specify leftxpanel', leftxlog=False)
plot the contribution function. This function gives a plot of contribution function, optionally w/ a T-P (or any) profile.
- Parameters:
nus – wavenumber
dtauM – dtau matrix
Tarr – temperature profile
Parr – perssure profile
dParr – perssure difference profile
unit – x-axis unit=cm-1, um (wavelength microns), nm = (wavelength nm), AA = (wavelength Angstrom),
log – True=use log10(cf)
normalize – normalize cf for each wavenumber?
cmap – colormap
optarr – the optional profile X, i.e. a X-P profile of the left panel, instead of a T-P profile
leftxlabel – xlable of the left panel
leftxlog – if True, log for the x grid of the left panel
- Returns:
contribution function
- exojax.plot.atmplot.plottau(nugrid, dtauM, Tarr=None, Parr=None, unit=None, mode=None, vmin=- 3, vmax=3)
Plot optical depth (tau). This function gives the color map of log10(tau) (or log10(dtau)), optionally w/ a T-P profile.
- Parameters:
nus – wavenumber in linear scale
dtauM – dtau matrix
Tarr – temperature profile
Parr – perssure profile
unit – x-axis unit=um (wavelength microns), nm = (wavelength nm), AA = (wavelength Angstrom),
mode – mode=None (lotting tau), mode=dtau (plotting delta tau for each layer)
vmin – color value min (default=-3)
vmax – color value max (default=3)
exojax.plot.ditplot module
Plotting tool for DIT/MODIT.
- exojax.plot.ditplot.plot_dgm(dgm_sigmaD, dgm_gammaL, sigmaDM, gammaLM, js=0, je=10)
plot DIT grid matrix (dgm)
- Parameters:
dgm_sigmaD – DIT grid matrix of sigmaD (Nlayer x Ngrid)
dgm_gammaL – DIT grid matrix of gammaL (Nlayer x Ngrid)
sigmaDM – sigmaD matrix (Nlayer x Nline)
gammaLM – gammaL matrix (Nlayer x Nline)
js – layer index for start to display
je – layer index for end to display
- exojax.plot.ditplot.plot_dgmn(Parr, dgm_ngammaL, ngammaLM, js, je)
plot MODIT grid matrix (dgm)
- Parameters:
Parr – pressure layer (Nlayer)
dgm_ngammaL – DIT grid matrix of ngammaL (Nlayer x Ngrid)
ngammaLM – ngammaL matrix (Nlayer x Nline)
js – layer index for start to display
je – layer index for end to display
exojax.plot.opaplot module
- exojax.plot.opaplot.plot_broadening_parameters_grids(ngamma_ref_grid, n_Texp_grid, nu_grid, resolution, gamma_ref_in, n_Texp_in, crit, figname)
exojax.plot.rtplot module
- exojax.plot.rtplot.comparison_with_pure_absorption(cumThat, Qhat, spectrum, trans_coeff, scat_coeff, piB)
- exojax.plot.rtplot.panel_imshow(val1, val2, title1, title2)