diff --git a/tests/test_acoustic_survey.py b/tests/test_acoustic_survey.py index 8e0415b..643ea9e 100644 --- a/tests/test_acoustic_survey.py +++ b/tests/test_acoustic_survey.py @@ -136,7 +136,7 @@ def test_spectrogram(self): @skip_unless_with_plots() def test_apply_to_all(self): self.asa.apply_to_all('plot_spectrogram') - self.asa.apply_to_all('plot_spectrum_mean', scaling='density') + self.asa.apply_to_all('plot_spectrum_median', scaling='density') @skip_unless_with_plots() def test_plot_spd(self): @@ -147,9 +147,9 @@ def test_plot_spd(self): self.asa.plot_spd(db=True, h=h_db, percentiles=percentiles, min_val=min_val, max_val=max_val) @skip_unless_with_plots() - def test_plot_mean_spectrum(self): - self.asa.plot_mean_power_spectrum() - self.asa.plot_mean_psd(percentiles=[10, 50, 90]) + def test_plot_median_spectrum(self): + self.asa.plot_median_power_spectrum() + self.asa.plot_median_psd(percentiles=[10, 50, 90]) @skip_unless_with_plots() def test_plot_ltsa(self): diff --git a/tests/test_plots.py b/tests/test_plots.py index 4b3c144..2b07290 100644 --- a/tests/test_plots.py +++ b/tests/test_plots.py @@ -57,9 +57,9 @@ def test_plot_spectrum_per_chunk(self): pypam.plots.plot_spectrum_per_chunk(ds=psd, data_var='band_density') @skip_unless_with_plots() - def test_plot_spectrum_mean(self): + def test_plot_spectrum_median(self): psd = self.asa.evolution_freq_dom('psd') - pypam.plots.plot_spectrum_mean(ds=psd, data_var='band_density', show=True) + pypam.plots.plot_spectrum_median(ds=psd, data_var='band_density', show=True) @skip_unless_with_plots() def test_plot_multiple_spectrum_median(self):