flux#
- aep8.flux(location, time, energy, *, kind, solar, particle)[source]#
Calculate the flux in the radiation belt using the NASA AE8/AP8 model.
Deprecated since version 1.0.0: This method will be deprecated in aep8 v2.0.0. Please use
aep8.model()instead.- Parameters:
location (EarthLocation) – Location at which to calculate the flux.
time (Time) – Time at which to calculate the flux.
energy (Annotated[Quantity, PhysicalType({'energy', 'torque', 'work'})]) – Energy at which to calculate the flux.
kind (Literal['integral', 'differential']) – Kind of flux:
"integral"or"differential".solar (Literal['min', 'max']) – Phase in the solar cycle:
"min"for solar minimum or"max"for solar maximum.particle (Literal['e', 'p']) – Particle species:
"e"for electrons or"p"for protons.
- Returns:
Estimated particle flux. If
locationortimeare arrays, then this will also be an array with the same shape. The units are 1 / (s cm2) for integral flux, or 1 / (MeV s cm2) for differential flux.- Return type: