Issues with XLALSimInspiralTDModesFromPolarizations and XLALSimInspiralPolarizationsFromSphHarmTimeSeries
I think the routine XLALSimInspiralTDModesFromPolarizations
https://git.ligo.org/lscsoft/lalsuite/blob/master/lalsimulation/src/LALSimInspiral.c#L1597
should not have the inclination or phiRef arguments, and instead set them to 0.
Also, I think the argument psi of the routine XLALSimInspiralPolarizationsFromSphHarmTimeSeries
https://git.ligo.org/lscsoft/lalsuite/blob/master/lalsimulation/src/LALSimInspiral.c#L3097
are mislabeled. This is not the polarization angle but the reference phase in the orbital plane, phiRef.