The plasma density functions inDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/stourgai/WPIT/llms.txt
Use this file to discover all available pages before exploring further.
Environment_mod implement four peer-reviewed empirical models for electron number density in Earth’s inner magnetosphere. Two models supply equatorial densities as a function of L-shell, while two others extend a given equatorial density along the full magnetic field line as a function of magnetic latitude. Together these models allow construction of complete three-dimensional density profiles needed for wave dispersion and wave-particle interaction calculations.
density_equ_sheeley
Returns the mean, minimum, and maximum equatorial electron number density at a given L-shell using the empirical Sheeley et al. (2001) model. This model is based on CRRES satellite observations and provides a simple power-law description valid across the plasmasphere and trough.
The mean density is:
The ±1σ bounds are:
Reference: Sheeley, B. W., Moldwin, M. B., Rassoul, H. K., and Anderson, R. R. (2001). “An empirical plasmasphere and trough density model: CRRES observations.” J. Geophys. Res., 106(A11), 25631–25641. doi:10.1029/2000JA000286.
Parameters
L-shell value (dimensionless). The model is empirically constrained to the CRRES observation range; typical application domain is to .
Returns
Mean equatorial electron number density in cm⁻³.
Lower statistical bound of equatorial electron number density in cm⁻³.
Upper statistical bound of equatorial electron number density in cm⁻³.
Example
Output densities are in cm⁻³. Multiply by to convert to SI units (m⁻³) for use with
omega_plasma and other SI-based frequency functions.density_equ_carpenter_anderson
Calculates the equatorial electron number density according to the Carpenter & Anderson (1992) ISEE/whistler model. This is a more detailed empirical model that accounts for the plasmasphere, plasmapause transition region, and outer plasma trough, with dependencies on geomagnetic activity (Kp index), season, magnetic local time (MLT), and solar activity.
The model divides the magnetosphere into three zones:
- Saturated plasmasphere (): density depends on day of year and sunspot number.
- Plasmapause transition (): sharp density gradient whose width depends on MLT.
- Plasma trough (): low-density outer region with MLT asymmetry.
Parameters
L-shell value (dimensionless). Valid domain: .
Maximum Kp geomagnetic activity index in the preceding 24 hours (dimensionless, range 0–9). Higher Kp contracts the plasmapause to lower L-shells.
Day of year (integer, 1–365). Used to apply the seasonal modulation of plasmaspheric density.
Magnetic local time in decimal hours (0–24). Controls the width of the plasmapause transition and the trough density.
13-month smoothed average sunspot number (dimensionless). Represents solar cycle phase; typical range 0–200.
Returns
Equatorial electron number density in cm⁻³.
Example
The model is defined for . Evaluating outside this range may produce unphysical results. The plasmapause outer boundary is determined numerically as the intersection of the plasmapause and plasma trough density profiles.
density_FL_denton
Calculates the electron number density at a point along a magnetic field line using the Denton et al. (2002) power-law model. Given an equatorial reference density, the model scales density with magnetic latitude using a relationship derived from field-aligned magnetospheric observations.
The field-line density profile is:
Reference: Denton, R. E., Goldstein, J., and Menietti, J. D. (2002). “Field line dependence of magnetospheric electron density.” Geophys. Res. Lett., 29(24), 2205. doi:10.1029/2002GL015963.
Parameters
Equatorial electron number density in the same units as the desired output (typically cm⁻³ when using outputs from
density_equ_sheeley or density_equ_carpenter_anderson). This is the reference density at .Magnetic latitude in radians. The density diverges as ; limit usage to latitudes well below the loss cone mirror latitude.
Returns
Electron number density at the specified latitude. Units match those of
ne0_arg.Example
The Denton model assumes a latitude dependence, consistent with flux tube volume conservation in a dipole field under the assumption of 94% H⁺, 5.4% He⁺, and 0.6% O⁺ composition. The output units are the same as the input
ne0_arg — no internal unit conversion is performed.density_ozhogin
Calculates the equatorial electron density and the field-line electron density at a given magnetic latitude using the Ozhogin et al. (2012) IMAGE RPI empirical model. Unlike the Denton model, Ozhogin provides its own empirical equatorial density formula as a function of L-shell, as well as a field-line profile based on a cosine power law.
The equatorial density is:
The field-line density at latitude is:
where is the field-line invariant latitude computed in the source.
Reference: Ozhogin, P., et al. (2012). “Field-aligned distribution of the plasmaspheric electron density: An empirical model derived from the IMAGE RPI measurements.” J. Geophys. Res.: Space Physics, 117(A6). doi:10.1029/2011JA017330.
Parameters
L-shell value (dimensionless). The model’s empirical log-linear equatorial density formula is derived from IMAGE RPI observations, typically valid for to .
Magnetic latitude in radians at which to evaluate the field-line density.
Returns
Equatorial electron number density in cm⁻³, calculated from the Ozhogin log-linear L-shell formula.
Electron number density at the specified magnetic latitude in cm⁻³.
Example
density_ozhogin returns two values: the equatorial density and the density at the requested latitude. Both are in cm⁻³. The first return value is independent of lambda_arg — it is purely a function of L-shell. The cosine argument reaches zero at lambda_arg = arccos(1/L); avoid evaluating at or beyond that latitude.