ExponentialAtmosphereDensityProfile¶
-
class
ctapipe.atmosphere.
ExponentialAtmosphereDensityProfile
(scale_height: astropy.units.quantity.Quantity = <Quantity 8. km>, scale_density: astropy.units.quantity.Quantity = <Quantity 0.00125 g / cm3>)[source]¶ Bases:
ctapipe.atmosphere.AtmosphereDensityProfile
A simple functional density profile modeled as an exponential.
The is defined following the form:
\[\rho(h) = \rho_0 e^{-h/h_0}\]from ctapipe.atmosphere import ExponentialAtmosphereDensityProfile density_profile = ExponentialAtmosphereDensityProfile() density_profile.peek()
- Attributes
- scale_height: u.Quantity[“m”]
scale height (h0)
- scale_density: u.Quantity[“g cm-3”]
scale density (rho0)
Attributes Summary
Methods Summary
__call__
(height)- Returns
integral
(height)Integral of the profile along the height axis, i.e. the atmospheric depth \(X\).
Attributes Documentation
-
scale_density
: astropy.units.quantity.Quantity = <Quantity 0.00125 g / cm3>¶
-
scale_height
: astropy.units.quantity.Quantity = <Quantity 8. km>¶
Methods Documentation
-
__call__
(height) → astropy.units.quantity.Quantity[source]¶ - Returns
- u.Quantity[“g cm-3”]
the density at height h
-
integral
(height) → astropy.units.quantity.Quantity[source]¶ Integral of the profile along the height axis, i.e. the atmospheric depth \(X\).
\[X(h) = \int_{h}^{\infty} \rho(h') dh'\]- Returns
- u.Quantity[“g/cm2”]:
Integral of the density from height h to infinity