Analysis of command detector signal-to-noise ratio estimator