Open matteobachetti opened 5 hours ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 96.11%. Comparing base (
39431fc
) to head (7b7585d
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Basic implementation of the shift-and-add technique from Mendez+1998 Guide for review: the basic mechanism is in
fourier.py
, the examples in the doctests should be self-explanatory. InDynamicalCrossspectrum
andDynamicalPowerspectrum
, I just wrap the same functionality in convenient methods that unpack the relevant information from the dynamical spectra and use the function infourier.py
.Example: if a QPO is changing its frequency during our observation
we can think of tracing its maximum (e.g. with
dcs.trace_maximum()
, here I did it by hand):and then applying shift_and_add to improve signal-to-noise and, maybe, detect a second QPO: