generate_saa_crossing
grb_trigger.simulations.generate_saa_crossing(duration_bins=300, amplitude=60, hardness_ratio=0.4)Generate a slow, symmetric South Atlantic Anomaly crossing.
Parameters
duration_binsint, default 300-
Duration of the crossing in bins.
amplitudefloat, default 60-
Peak low-channel count rate.
hardness_ratiofloat, default 0.4-
High/low channel ratio, in (0, 1] (a soft spectrum).
Returns
low, highnumpy.ndarray, shape (duration_bins,)-
Poisson-sampled counts per channel.
Raises
- ValueError
-
If an argument is outside its allowed range.
Notes
The rate follows a half sine wave, .