heyoka.model.Ap_avgp#
- heyoka.model.Ap_avgp(time_expr: expression = heyoka.time, sw_data: sw_data = sw_data()) expression#
Derivative of the average of the geomagnetic Ap index.
Added in version 7.12.0.
This function will return an expression representing the first-order derivative of
Ap_avg()as a function of the input time expression time_expr. time_expr is expected to represent the number of Julian centuries elapsed since the epoch of J2000 in the terrestrial time scale (TT). sw_data is the space weather dataset to be used for the computation.The derivative is modelled as a piecewise constant function of time, where the nodes are given by the dates in sw_data. Evaluation outside the dates range of sw_data will produce a value of
NaN.The derivative is returned in units of Ap index per Julian century (TT).
- Parameters:
time_expr – the input time expression.
sw_data – the SW data to be used for the computation.
- Returns:
an expression representing the derivative of the 24-hour running average of the Ap index.