lifewatch / pypam

Python Passive Acoustic Analysis tool for Passive Acoustic Monitoring (PAM)
GNU General Public License v3.0
32 stars 8 forks source link

API for hybrid_millidecade_bands #26

Closed carueda closed 1 year ago

carueda commented 1 year ago

Hi @cparcerisas – As a sort of #9 followup, I'm not finding a way to exercise what https://github.com/lifewatch/pypam/blob/a662991b50d7e43e639d9c4448a420c8f5d33a00/pypam/acoustic_survey.py#L323 performs within the context of an AcousticSurveyAnalysis (ASA) instance. I've been trying to follow the core logic to possibly propose how to extract it in a more API friendly way, but I'm not there yet. Hopefully we can discuss this in our next work session.

carueda commented 1 year ago

I know the example given in #9 is for hybrid millidecade calculation, and likely I'm just not setting things properly for the code adapted from the example to work. The symptom is that our processing program is not getting the expected results for > 435Hz. I've been in particular trying to understand the logic behind this call https://github.com/lifewatch/pypam/blob/a662991b50d7e43e639d9c4448a420c8f5d33a00/pypam/acoustic_survey.py#L343

carueda commented 1 year ago

Oops I was not using the latest 0.1.9b0.