diff options
Diffstat (limited to 'dpd/src/MER.py')
-rw-r--r-- | dpd/src/MER.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dpd/src/MER.py b/dpd/src/MER.py index 4f2918e..9c72dfb 100644 --- a/dpd/src/MER.py +++ b/dpd/src/MER.py @@ -20,8 +20,8 @@ matplotlib.use('agg') import matplotlib.pyplot as plt class MER: - def __init__(self, sample_rate): - self.c = src.const.const(sample_rate) + def __init__(self, c): + self.c = c def _calc_spectrum(self, tx): fft = np.fft.fftshift(np.fft.fft(tx)) |