pylops.utils.metrics.snr¶
- pylops.utils.metrics.snr(xref, xcmp)[source]¶
Signal to Noise Ratio (SNR)
Compute Signal to Noise Ratio between two vectors
- Parameters:
- xref
numpy.ndarray Reference vector
- xcmp
numpy.ndarray Comparison vector
- xref
- Returns:
- snr
float Signal to Noise Ratio of
xcmpwith respect toxref
- snr