From d2217de5645e4bffdf0ef41f50cc73bf1eded620 Mon Sep 17 00:00:00 2001 From: valentina Date: Mon, 11 Mar 2024 20:20:27 -0700 Subject: [PATCH] adding missing lines of code --- noise_processing.py | 8 ++++++++ 1 file changed, 8 insertions(+) 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)