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

Changed the generatefordetectrors function.

parent d78427a5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -147,7 +147,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, self.params['ra'], self.params['dec'], self.params['psi'], det)
            h_tot = lalsimulation.SimDetectorStrainREAL8TimeSeries(hp, hx, float(self.params['ra']), float(self.params['dec']), float(self.params['psi']), det)
            # Inject the waveform into the overall timeseries
            lalsimulation.SimAddInjectionREAL8TimeSeries(h_resp, h_tot, None)
            return h_resp