code: def overlap(vec1, vec2, psd=None, low_frequency_cutoff=None,
            high_frequency_cutoff=None, normalized=True):
      
  
      return overlap_cplx(vec1, vec2, psd=psd, \
              low_frequency_cutoff=low_frequency_cutoff,\
              high_frequency_cutoff=high_frequency_cutoff,\
              normalized=normalized).real
docs: Return the overlap between the two TimeSeries or FrequencySeries.
  
      Parameters
      ----------
      vec1 : TimeSeries or FrequencySeries
          The input vector containing a waveform.
      vec2 : TimeSeries or FrequencySeries
          The input vector containing a waveform.
      psd : Frequency Series
          A power spectral density to weight the overlap.
      low_frequency_cutoff : {None, float}, optional
          The frequency to begin the overlap.
      high_frequency_cutoff : {None, float}, optional
          The frequency to stop the overlap.
      normalized : {True, boolean}, optional
          Set if the overlap is normalized. If true, it will range from 0 to 1.
  
      Returns
      -------
      overlap: float