Commit f1692197 authored by Daniel Williams's avatar Daniel Williams
Browse files

Changed the generatefordetectrors function.

parent 78b13b29
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -148,7 +148,7 @@ class Waveform(object):
            hp, hx = self._generate(half=True)[:2]
            # Get and apply detector response
            det = lalsimulation.DetectorPrefixToLALDetector(ifo)
            h_tot = lalsimulation.SimDetectorStrainREAL8TimeSeries(hp, hx, row.ra, row.dec, row.psi, det)
            h_tot = lalsimulation.SimDetectorStrainREAL8TimeSeries(hp, hx, row.ra[0], row.dec[0], row.psi[0], det)
            # Inject the waveform into the overall timeseries
            lalsimulation.SimAddInjectionREAL8TimeSeries(h_resp, h_tot, None)
            return h_resp