You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was reading up the paper Ingram 2016, where the formula for finding the phase offsets of the first two harmonics of a QPO (for some energy band E), was given as: $\phi_1 (E) = \phi_1+ \Delta_1(E)$ , $\phi_2 (E) = 2(\phi_1 + \psi) + \Delta_2(E)$ ,
In our implementation in stingray, we are using a different formulae which replaces the second equation with $\phi_2 (E) = 2(\phi_1 (E) + \psi) + \Delta_2(E)$ ,
this was the equation given in the paper Ingram 2015 , but it is claimed in Ingram 2016 (page 4), that there is a mistake in the Ingram 2015 paper's equation.
@matteobachetti , @dhuppenkothen, please look into it and clarify if it is an error or a deliberate implementation decision.
This is implemented in spectroscopy.py. I have tested the code for the new equation and it produces significantly different waveforms than the current implementation.
The text was updated successfully, but these errors were encountered:
Hi, @matteobachetti , the fix for this issue is just a trivial two line change, but my main issue is whether this is required in the stingray library, or was the choice to use Ingram 2015 papers formulae over the latest one a deliberate design decision.
I was reading up the paper Ingram 2016, where the formula for finding the phase offsets of the first two harmonics of a QPO (for some energy band E), was given as:
$\phi_1 (E) = \phi_1+ \Delta_1(E)$ ,
$\phi_2 (E) = 2(\phi_1 + \psi) + \Delta_2(E)$ ,$\phi_2 (E) = 2(\phi_1 (E) + \psi) + \Delta_2(E)$ ,
In our implementation in stingray, we are using a different formulae which replaces the second equation with
this was the equation given in the paper Ingram 2015 , but it is claimed in Ingram 2016 (page 4), that there is a mistake in the Ingram 2015 paper's equation.
@matteobachetti , @dhuppenkothen, please look into it and clarify if it is an error or a deliberate implementation decision.
This is implemented in spectroscopy.py. I have tested the code for the new equation and it produces significantly different waveforms than the current implementation.
The text was updated successfully, but these errors were encountered: