Skip to content

Commit

Permalink
adding missing lines of code
Browse files Browse the repository at this point in the history
  • Loading branch information
valentina-s committed Mar 12, 2024
1 parent 6450358 commit d2217de
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions noise_processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__':
Expand All @@ -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)

Expand Down

0 comments on commit d2217de

Please sign in to comment.