lifewatch / pypam

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

Ability to omit the upper and lower frequency limits in the hybrid millidecade band output #28

Closed carueda closed 1 year ago

carueda commented 1 year ago

We are using utils.spectra_ds_to_bands to get the final hms product in our current workflow. This utils.spectra_ds_to_bands utility includes the upper and lower frequency limits of each hybrid millidecade band, which we would like to omit, that is, only keeping the center frequency.

So, the idea would be to include an option to exclude those limits in this function (or perhaps, add one other function for that purpose).

carueda commented 1 year ago

Ok, no need for changes there! one can simply use drop_vars!