<p>PAMGuard does seem appropriate for detecting clicks.</p>
<p>For getting both sound pressure level and &quot;impulsivity&quot;, i suggest the scikit-maad Python package:
<a href="https://scikit-maad.github.io" rel="noreferrer">https://scikit-maad.github.io</a></p>
<p>The <code>spl</code> module has tools to measure sound pressure level and convert it to  a decibel scale. But friendly reminder that the number you will obtain will be relative to the gain settings of your acquisition device. If you care about absolute numbers, as you probably should, make sure to calibrate the device with an SPL meter.</p>
<p>The <code>features</code> module has lots of eco-acoustic indices for measuring &quot;impulsivity&quot;:
<a href="https://scikit-maad.github.io/features.html#alpha-acoustic-indices" rel="noreferrer">https://scikit-maad.github.io/features.html#alpha-acoustic-indices</a></p>
<p>Farina and Sueur's acoustic complexity index (ACI) and temporal entropy are suitable candidates.</p>
<p>If you're not familiar with Python, an alternative is R's soundecology package: <a href="https://cran.r-project.org/web/packages/soundecology/vignettes/intro.html" rel="noreferrer">https://cran.r-project.org/web/packages/soundecology/vignettes/intro.html</a></p>
<p>Your idea of representing &quot;impulsivity&quot; by means of the kurtosis is good, and could be done with few lines of Librosa + NumPy.</p>

CC BY-SA 4.0
2022-08-06T23:11:59.233Z
2022-08-06T23:11:59.233Z
lostanlen
<p>You may find MANTA a good option for analyzing noise levels over time:
<a href="https://www.frontiersin.org/articles/10.3389/fmars.2021.703650/full%20" rel="nofollow noreferrer">https://www.frontiersin.org/articles/10.3389/fmars.2021.703650/full%20</a></p>

CC BY-SA 4.0
2022-08-14T22:28:29.647Z
2022-08-14T22:28:29.647Z
Michael Pitzrick
<p>I have years of passive acoustic monitoring data collected on several full-bandwidth underwater noise recorders around windfarms. Given the volume of the data, I need to automate the analysis, and am uncertain how to do so in a way that takes all of the following goals into account.</p>
<p>I want to be able to:</p>
<ul>
<li>say something about noise levels over time;</li>
<li>say something about dolphin/porpoise presence over time</li>
<li>as well as whenever pile-driving noise associated with the construction of offshore wind farms is occurring.</li>
</ul>
<p>For <strong>general soundscape analysis</strong>, I plan on processing this data using <a href="https://besjournals.onlinelibrary.wiley.com/doi/10.1111/2041-210X.12330" rel="noreferrer">PAMGuide</a> or <a href="https://www.pamguard.org/" rel="noreferrer">PAMGuard</a>).</p>
<p>For <strong>dolphin/porpoise presense</strong>, I plan on using a click detector in <a href="https://www.pamguard.org" rel="noreferrer">PAMGuard</a>.</p>
<p>For <strong>impulsivity</strong> measurements (<em>i.e</em>. to measure the sound whenever a brief, intermittent pile-driving sound is happening), I'm uncertain how to proceed. I haven't found an in-built kurtosis measure in either of these softwares, and so am considering running either one twice, for example, each with different time averaging (maybe 1 min for general soundscape, and maybe 1 sec for impuslive sounds).</p>
<p>I'm not convinced this is the most streamlined way to measure the sound. Is there a 3-birds-1-stone solution here? Suggestions appreciated for <strong>finding out how to both appropriately measure impulsivity and keep track of overall SPLs in years of acoustic data</strong>.</p>

CC BY-SA 4.0
2022-08-04T15:40:39.620Z
Do you mean '3-birds-1-stone'?  I'm not entirely clear what you are asking here, but it seems that you are asking if there is a way to do this in PAMGuard (since this is your one stone, and the two birds are soundscape & dolphin/porpoise presence?).  Please be more specific if you are asking if you can do it all in Pamguard workflow OR if you are looking for one software analysis type (any one!) to do this all, OR if you are looking for something different?
Shannon
CC BY-SA 4.0
2022-08-05T14:27:07.443Z
thanks @Shannon, will clarify
Chloe
CC BY-SA 4.0
2022-08-07T06:27:53.443Z
Are you willing to give up pre-canned SW and use dedicated (Matlab/Python) scrips?
WMXZ
<analysis><pamguard><soundscape><kurtosis>
How to measure long-term dataset for soundscape AND impulsivity?
# How to measure long-term dataset for soundscape AND impulsivity?

(Asked by: username_0 on 2022-08-04)

I have years of passive acoustic monitoring data collected on several full-bandwidth underwater noise recorders around windfarms. Given the volume of the data, I need to automate the analysis, and am uncertain how to do so in a way that takes all of the following goals into account.

I want to be able to:

* say something about noise levels over time;
* say something about dolphin/porpoise presence over time
* as well as whenever pile-driving noise associated with the construction of offshore wind farms is occurring.

For **general soundscape analysis**, I plan on processing this data using [PAMGuide](https://besjournals.onlinelibrary.wiley.com/doi/10.1111/2041-210X.12330) or [PAMGuard](https://www.pamguard.org/)).

For **dolphin/porpoise presense**, I plan on using a click detector in [PAMGuard](https://www.pamguard.org).

For **impulsivity** measurements (*i.e*. to measure the sound whenever a brief, intermittent pile-driving sound is happening), I'm uncertain how to proceed. I haven't found an in-built kurtosis measure in either of these softwares, and so am considering running either one twice, for example, each with different time averaging (maybe 1 min for general soundscape, and maybe 1 sec for impuslive sounds).

I'm not convinced this is the most streamlined way to measure the sound. Is there a 3-birds-1-stone solution here? Suggestions appreciated for **finding out how to both appropriately measure impulsivity and keep track of overall SPLs in years of acoustic data**.

**Tags:** analysis, pamguard, soundscape, kurtosis

> **Comments:**
> **username_1**: Do you mean '3-birds-1-stone'?  I'm not entirely clear what you are asking here, but it seems that you are asking if there is a way to do this in PAMGuard (since this is your one stone, and the two birds are soundscape & dolphin/porpoise presence?).  Please be more specific if you are asking if you can do it all in Pamguard workflow OR if you are looking for one software analysis type (any one!) to do this all, OR if you are looking for something different?  
> **username_0**: thanks @username_1, will clarify  
> **username_2**: Are you willing to give up pre-canned SW and use dedicated (Matlab/Python) scrips?  

---

## 2 answers

### Answer by username_3 on 2022-08-06. Score: 6

PAMGuard does seem appropriate for detecting clicks.

For getting both sound pressure level and "impulsivity", i suggest the scikit-maad Python package:
<https://scikit-maad.github.io>

The `spl` module has tools to measure sound pressure level and convert it to a decibel scale. But friendly reminder that the number you will obtain will be relative to the gain settings of your acquisition device. If you care about absolute numbers, as you probably should, make sure to calibrate the device with an SPL meter.

The `features` module has lots of eco-acoustic indices for measuring "impulsivity":
<https://scikit-maad.github.io/features.html#alpha-acoustic-indices>

Farina and Sueur's acoustic complexity index (ACI) and temporal entropy are suitable candidates.

If you're not familiar with Python, an alternative is R's soundecology package: <https://cran.r-project.org/web/packages/soundecology/vignettes/intro.html>

Your idea of representing "impulsivity" by means of the kurtosis is good, and could be done with few lines of Librosa + NumPy.


---

### Answer by username_4 on 2022-08-14. Score: 1

You may find MANTA a good option for analyzing noise levels over time:
<https://www.frontiersin.org/articles/10.3389/fmars.2021.703650/full%20>


---

