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_TPprofile(Tarr, Parr)
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', mode=None, log=False, normalize=True, cmap='bone_r')

plot the contribution function. This function gives a plot of contribution function, optionally w/ a T-P 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),

  • mode – None=contour, “cmap”=color map

  • log – True=use log10(cf)

  • normalize – normalize cf for each wavenumber?

  • cmap – colormap

Returns

contribution function

exojax.plot.atmplot.plottau(nus, 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

  • 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

Module contents