code: def make_strain_from_inj_object(self, inj, delta_t, detector_name,
                                      f_lower=None, distance_scale=1):
          
          detector = Detector(detector_name)
          if f_lower is None:
              f_l = inj.f_lower
          else:
              f_l = f_lower
  
          name, phase_order = legacy_approximant_name(inj.waveform)
  
          # compute the waveform time series
          hp, hc = get_td_waveform(
              inj, approximant=name, delta_t=delta_t,
              phase_order=phase_order,
              f_lower=f_l, distance=inj.distance,
              **self.extra_args)
  
          hp /= distance_scale
          hc /= distance_scale
  
          hp._epoch += inj.get_time_geocent()
          hc._epoch += inj.get_time_geocent()
  
          # taper the polarizations
          hp_tapered = wfutils.taper_timeseries(hp, inj.taper)
          hc_tapered = wfutils.taper_timeseries(hc, inj.taper)
  
          # compute the detector response and add it to the strain
          signal = detector.project_wave(hp_tapered, hc_tapered,
                               inj.longitude, inj.latitude, inj.polarization)
  
          return signal
docs: Make a h(t) strain time-series from an injection object as read from
          a sim_inspiral table, for example.
  
          Parameters
          -----------
          inj : injection object
              The injection object to turn into a strain h(t).
          delta_t : float
              Sample rate to make injection at.
          detector_name : string
              Name of the detector used for projecting injections.
          f_lower : {None, float}, optional
              Low-frequency cutoff for injected signals. If None, use value
              provided by each injection.
          distance_scale: {1, float}, optional
              Factor to scale the distance of an injection with. The default is
              no scaling.
  
          Returns
          --------
          signal : float
              h(t) corresponding to the injection.