pysolate.threshold.SNR_detect

SNR_detect(Wx, M, newbeg, newend, snr_lowerbound)[source]

Apply SNR detection to CWT

Parameters
  • Wx (numpy.ndarray) – wavelet transform of shape (len(scales), len(time_series))

  • M (numpy.ndarray) – mean of noise model.

  • snr_lowerbound (float) – noise level lower bound in percent.

Returns

the updated mean and standard deviation of the noise model.

Return type

(numpy.ndarray, numpy.ndarray)