code: def get_new_snr(h5group, q=6., n=2.):  # pylint:  disable=invalid-name
      
      newsnr = h5group['snr'][:].copy()
      rchisq = h5group['chisq'][:]
      idx = numpy.where(rchisq > 1.)[0]
      newsnr[idx] *= _new_snr_scale(rchisq[idx], q=q, n=n)
      return newsnr
docs: Calculate the 'new SNR' column for this PyCBC HDF5 table group