How to estimate the signal-to-noise ratio of a waveform?
If the spectrum of the signal and the spectrum of the noise do not overlap, you might be able to integrate or sum the energy in each of the two frequency ranges, and take the ratio.