diff --git a/noise_processing.py b/noise_processing.py index 21c68018..2858a744 100644 --- a/noise_processing.py +++ b/noise_processing.py @@ -3,6 +3,10 @@ from orcasound_noise.utils import Hydrophone import datetime as dt +import pandas as pd +import matplotlib.pyplot as plt +from orcasound_noise.pipeline.acoustic_util import plot_spec, plot_bb + #Example 1: Port Townsend, 1 Hz Frequency, 60-second samples if __name__ == '__main__': @@ -14,6 +18,10 @@ dt.datetime(2023, 3, 23, 8), upload_to_s3=False) + +psd_df = pd.read_parquet(psd_path) +bb_df = pd.read_parquet(broadband_path) + plot_spec(psd_df) plot_bb(bb_df)