diff --git a/NuRadioReco/detector/test/test_ef.pkl b/NuRadioReco/detector/test/test_ef.pkl deleted file mode 100644 index fe1729ac6..000000000 Binary files a/NuRadioReco/detector/test/test_ef.pkl and /dev/null differ diff --git a/NuRadioReco/detector/test/test_rnog_detector.py b/NuRadioReco/detector/test/test_rnog_detector.py index 39d870e62..8fadeb922 100644 --- a/NuRadioReco/detector/test/test_rnog_detector.py +++ b/NuRadioReco/detector/test/test_rnog_detector.py @@ -18,9 +18,8 @@ def test_detector(): from NuRadioReco.framework import electric_field - with open(f"{os.path.dirname(__file__)}/test_ef.pkl", "rb") as f: - ef = electric_field.ElectricField(channel_ids=[0]) - ef.deserialize(f.read()) + ef = electric_field.ElectricField(channel_ids=[0]) + ef.set_frequency_spectrum(np.ones(1025, dtype=complex), sampling_rate=2.4) ef *= response