template_synthesis.jax.utilities.atmosphere.atmosphere module¶
-
class template_synthesis.jax.utilities.atmosphere.atmosphere.Atmosphere(model: int =
17
, n0: float =1.000292
, observation_level: float =0.0
)¶ Bases:
object
Interface to manage the calculation of atmospheric properties of the air shower.
Ported over from radiotools.atmosphere.models and jaxified. Currently only the tools used in template synthesis are ported over, but in principle can port over other modules as well.
- get_atmosphere(height: Array | ndarray | bool | number | bool | int | float | complex) Array ¶
Get the atmospheric depth from a given height(s).
- get_cherenkov_angle(grammage: Array | ndarray | bool | number | bool | int | float | complex, zenith: Array | ndarray | bool | number | bool | int | float | complex) Array ¶
Calculate the cherenkov angle from the atmospheric depth and zenith angle.
- get_density(grammage: Array | ndarray | bool | number | bool | int | float | complex, zenith: Array | ndarray | bool | number | bool | int | float | complex) Array ¶
Get the density at a specific atmospheric depth and zenith angle.
- get_geometric_distance_grammage(grammage: Array | ndarray | bool | number | bool | int | float | complex, zenith: Array | ndarray | bool | number | bool | int | float | complex) Array ¶
Get the geometrical distance from some grammage in the shower.
- get_refractive_index(grammage: Array | ndarray | bool | number | bool | int | float | complex, zenith: Array | ndarray | bool | number | bool | int | float | complex) Array ¶
Calculate the refractive index of the atmosphere at a given height.
- get_vertical_height(at: Array | ndarray | bool | number | bool | int | float | complex) Array ¶
Get vertical height from atmosphere, i.e., mass overburden for different layer.
-
template_synthesis.jax.utilities.atmosphere.atmosphere.r_e =
6371000.0
¶ All functions use “grams” and “meters”, only the functions that receive and return “atmospheric depth” use the unit “g/cm^2”
Atmospheric density models as used in CORSIKA. The parameters are documented in the CORSIKA manual the parameters for the Auger atmospheres are documented in detail in GAP2011-133 The May and October atmospheres describe the annual average best.