code: def _margtime_mfsnr(template, data):
          
          snr = matched_filter_core(template, data, h_norm=1, psd=None)
          hd_i = snr[0].numpy().real
          return hd_i
docs: Returns a time series for the matched filter SNR assuming that the
          template and data have both been normalised and whitened.