Reference/API#

shone.chemistry Package#

Functions#

isotopologue_to_mass(isotopologue)

Find the total atomic mass for isotopologue.

isotopologue_to_species(isotopologue)

Convert isotopologue name to common species name.

species_name_to_common_isotopologue_name(species)

Convert generic species name, like "H2O", to isotopologue name like "1H2-16O".

species_name_to_fastchem_name(species[, ...])

Convert generic species name, like "H2O" or "ClAlF2", to Hill notation for FastChem, like "H2O1" or "Al1Cl1F2".

Classes#

FastchemWrapper(temperature, pressure[, ...])

Wrapper around pyfastchem.

Class Inheritance Diagram#

digraph inheritancef161eec134 { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "FastchemWrapper" [URL="../api/shone.chemistry.FastchemWrapper.html#shone.chemistry.FastchemWrapper",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Wrapper around pyfastchem."]; }

shone.opacity Package#

Functions#

download_atom(atom, charge[, line_list, ...])

Download atomic opacity data from DACE.

download_molecule([isotopologue, ...])

Download molecular opacity data from DACE.

generate_synthetic_opacity([filename])

Construct a netCDF file containing a synthetic opacity grid.

Classes#

Opacity([path, grid])

Load and interpolate from a pre-computed opacity grid.

Class Inheritance Diagram#

digraph inheritance36ba49029f { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "Opacity" [URL="../api/shone.opacity.Opacity.html#shone.opacity.Opacity",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Load and interpolate from a pre-computed opacity grid."]; }

shone.transmission Package#

Functions#

transmission_radius_isothermal(kappa, R_0, ...)

Compute the radius spectrum for planet observed in transmission with an isothermal atmosphere.