Skip to content

Commit

Permalink
Acoustics Module (#349)
Browse files Browse the repository at this point in the history
# MHKiT Acoustics Module 

This pull request introduces a new acoustics module to MHKiT, aimed at providing comprehensive tools for processing and analyzing passive acoustic data from hydrophone recordings. The module is designed to facilitate compliance with the IEC-TS 62600-40 standard for assessing the effects of marine energy devices on the marine environment. It includes functionalities for reading hydrophone data, performing spectral analyses, applying calibrations, calculating sound pressure levels, and visualizing results.

The addition of this acoustics module significantly enhances MHKiT's capabilities in passive acoustic data analysis, providing standardized, robust tools for the marine renewable energy community. It facilitates compliance with international standards and supports detailed acoustic monitoring and environmental impact assessments of marine energy devices.
  • Loading branch information
jmcvey3 authored Oct 29, 2024
1 parent 6c2d013 commit c5b698f
Show file tree
Hide file tree
Showing 15 changed files with 5,829 additions and 2,772 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Pylint Loads
name: Pylint

on: [push, pull_request]

Expand Down Expand Up @@ -28,3 +28,7 @@ jobs:
- name: Run Pylint on mhkit/power/
run: |
pylint mhkit/power/

- name: Run Pylint on mhkit/acoustics/
run: |
pylint mhkit/acoustics/
1,040 changes: 1,040 additions & 0 deletions examples/acoustics_example.ipynb

Large diffs are not rendered by default.

Binary file added examples/data/acoustics/6247.230204150508.wav
Binary file not shown.
41 changes: 41 additions & 0 deletions examples/data/acoustics/6247_calibration.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
Frequency,Analog Sensitivity,
1,-223.49,
1.183,-220.8,
1.399,-218.13,
1.655,-215.41,
1.958,-212.68,
2.316,-209.91,
2.74,-207.12,
3.241,-204.29,
3.834,-201.45,
4.535,-198.58,
5.364,-195.69,
6.345,-192.79,
7.506,-189.85,
8.879,-186.9,
10.5,-183.93,
12.42,-180.93,
14.7,-177.92,
17.38,-174.97,
20.56,-172.16,
24.33,-169.61,
28.78,-167.69,
34.04,-166.52,
40.26,-165.96,
47.63,-165.81,
56.34,-165.85,
66.65,-165.95,
78.84,-166.05,
93.26,-166.13,
110.3,-166.2,
130.5,-166.25,
154.4,-166.28,
182.6,-166.29,
216,-166.29,
255.5,-166.27,
302.2,-166.24,
357.5,-166.17,
422.9,-166.03,
500.3,-165.79,
591.8,-165.47,
700,-164.87,
Binary file not shown.
Loading

0 comments on commit c5b698f

Please sign in to comment.