sdr.ErrorRate.counts(snr: float) → int Returns the number of counts at the specified signal-to-noise ratio (SNR). Parameters:¶ snr: float¶The signal-to-noise ratio (SNR) in dB. This can be \(E_b/N_0\), \(E_s/N_0\), \(S/N\), \(C/N_0\), or other SNR quantities. However, users are cautioned to be consistent for a given class instance. Returns:¶ The number of counts at the specified SNR. Examples¶ See the class Examples section.