lisa.pelt.pelt_swing#
- lisa.pelt.pelt_swing(period, duty_cycle, window=0.001048576, half_life=32, scale=1024, kind='peak2peak')[source]#
Compute an approximation of the PELT signal swing for a given periodic task.
- Parameters:
period (float) – Period of the task in seconds.
duty_cycle (float) – Duty cycle of the task.
window (float) – PELT window in seconds.
half_life (int) – PELT half life, in number of windows.
scale (float) – PELT scale.
kind (str) –
One of:
peak2peak
: the peak-to-peak swing of PELT.above
: the amplitude of the swing above the average value.below
: the amplitude of the swing below the average value.
Note
The PELT signal is approximated as a first order filter. This does not take into account the averaging inside a window, but the window is small enough in practice for that effect to be negligible.