density_profiles (MCEq.geometry.density_profiles)#
This module includes classes and functions modeling the Earth’s atmosphere. Currently, two different types models are supported:
Linsley-type/CORSIKA-style parameterization
Numerical atmosphere via external routine (NRLMSISE-00)
Both implementations have to inherit from the abstract class MCEq.geometry.density_profiles.EarthsAtmosphere,
which provides the functions for other parts of the program. In particular the function MCEq.geometry.density_profiles.EarthsAtmosphere.get_density().
Typical interaction:
atm_object = CorsikaAtmosphere("BK_USStd")
atm_object.set_theta(90)
print(density at X=100, atm_object.X2rho(100.))
The class MCEq.core.MCEqRun will only the following routines:
EarthsAtmosphere.set_theta()
EarthsAtmosphere.r_X2rho()
If you are extending this module make sure to provide these functions without breaking compatibility.
Reference/API#
MCEq.geometry.density_profiles Module#
Classes#
|
Metaclass for defining Abstract Base Classes (ABCs). |
|
Interpolation class for tabulated atmospheres. |
|
Class, holding the parameters of a Linsley type parameterization similar to the Air-Shower Monte Carlo CORSIKA. |
|
Abstract class containing common methods on atmosphere. |
|
This class provides a way to run MCEq on piece-wise constant one-dimenional density profiles. |
|
Isothermal model of the atmosphere. |
|
Wrapper class for a python interface to the NRLMSISE-00 model. |
|
Extension of |
Class Inheritance Diagram#
