Skip to content
Snippets Groups Projects

Change the behaviour of XLALSimInspiralFD for precessing EOB

Merged Serguei Ossokine requested to merge serguei.ossokine/lalsuite:SimInspiralFD_change into master
All threads resolved!
@@ -2228,7 +2228,9 @@ static int XLALSimInspiralTDFromFD(
* the very end of the waveform are also tapered. The resulting waveform is high-pass
* filtered at frequency f_min so that it should have little content at lower frequencies.
* If calling the NR_hdf5 approximant then the starting frequency is not altered.
* If calling the NR_hdf5 approximant then the starting frequency is not altered. This is also
* the case if calling any of the time-domain, precessing EOB approximants:
* [SEOBNRv3,SEOBNRv3_opt,SEOBNRv4P,SEOBNRv4PHM]
*
* This routine used to have one additional parameter relative to XLALSimInspiralChooseTDWaveform:
* the redshift, z, of the waveform, which is now stuffed into the LALDict structure.
@@ -2274,7 +2276,7 @@ int XLALSimInspiralTD(
* This is because XLALSimInspiralTDFromTD modifies the start frequency
* which is not always possible with NR_hdf5 waveforms.
*/
if (approximant == NR_hdf5)
if (approximant == NR_hdf5 || approximant == SEOBNRv3 || approximant == SEOBNRv3_opt || approximant == SEOBNRv4P || approximant == SEOBNRv4PHM)
{
if (XLALSimInspiralChooseTDWaveform(hplus, hcross, m1, m2, S1x, S1y, S1z, S2x, S2y, S2z, distance, inclination, phiRef, longAscNodes, eccentricity, meanPerAno, deltaT, f_min, f_ref, LALparams, approximant) <0)
XLAL_ERROR(XLAL_EFUNC);
Loading