pysep.opac package

Submodules

pysep.opac.utils module

Author: Thomas M. Boudreaux

Created: Febuary 2021

Last Modified: July 2021

Opacity utility functions

Functions

  • get_target_log_R

    Return a numpy array with the LogR values required by DSEP for high temperature opacity tables.

  • get_target_log_T

    Return a numpy array with the LogT values required by DSEP for high temperature opacity tables.

pysep.opac.utils.get_target_log_R() numpy.ndarray

Get the ndarray for the LogR values that DSEP expects

Returns

targetLogR – Array of LogR values expected by DSEP in opacity table

Return type

np.ndarray

pysep.opac.utils.get_target_log_T() numpy.ndarray

Get the ndarray for the LogT values that DSEP expects

Returns

targetLogT – Array of LogT values expected by DSEP in opacity table

Return type

np.ndarray

pysep.opac.utils.load_non_rect_map() numpy.ndarray

Load the upper non rectabtular map from numpy binary which DSEP requires for the high temperature opacity files.

Returns

upperNonRect – Upper non rectangular map which DSEP requires.

Return type

np.ndarray

Module contents

Opacity model for all things high temperature radiative opacity related.