radioML / dataset

Open RadioML Synthetic Benchmark Dataset
244 stars 140 forks source link

In my opinion,the noise_amp should be the standard deviation,not the variance.& the normalization may be wrong #38

Open yjyddq opened 2 years ago

yjyddq commented 2 years ago

The document in gnuradio.channels.dynamic_channel_model indicates that the -noise_amp – Specifies the standard deviation of the AWGN process . So, I think there should be noise_amp = np.sqrt(10(- snr/10)), original code is the variance. aa4174a2ec70cd311c2d8677adbc07b Besides, the Normalization of the energy may be the energy=np.sqrt(np.sum(np.abs(sample_vector)2)),sample_vector = sample_vector / energy, rather than the following form, the former formula can promise after be normalized the total energy of a complex vector equals to one. 860ee0593afeaa52e2ca3ad7cbe43c5