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
  
          # compute the waveform time series
          hp, hc = get_td_waveform(inj, delta_t=delta_t, f_lower=f_l,
                                   **self.extra_args)
  
          hp /= distance_scale
          hc /= distance_scale
  
          hp._epoch += inj.tc
          hc._epoch += inj.tc
  
          # taper the polarizations
          try:
              hp_tapered = wfutils.taper_timeseries(hp, inj.taper)
              hc_tapered = wfutils.taper_timeseries(hc, inj.taper)
          except AttributeError:
              hp_tapered = hp
              hc_tapered = hc
  
          # compute the detector response and add it to the strain
          signal = detector.project_wave(hp_tapered, hc_tapered,
                               inj.ra, inj.dec, inj.polarization)
  
          return signal
docs: Make a h(t) strain time-series from an injection object.
  
          Parameters
          -----------
          inj : injection object
              The injection object to turn into a strain h(t). Can be any
              object which has waveform parameters as attributes, such as an
              element in a ``WaveformArray``.
          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.