SNR measurement module

Please review and merge