PyPAM based data processing
The mbari-pbp package allows to process ocean audio data archives to daily analysis products of hybrid millidecade spectra using PyPAM.
Status: Functional version, including support for cloud based processing.
- JSON generation of timekeeping with indication of start and duration of recognized sound files
- Audio file processing
- Frequency and psd array output
- Concatenation of processed 1-minute segments for daily product
- Calibration with given sensitivity file (NetCDF), or flat sensitivity value
- Data products
- NetCDF with metadata
- Summary plot
- Cloud processing
- Inputs can be downloaded from and uploaded to S3
- Inputs can be downloaded from public GCS bucket
- Outputs can be uploaded to GCS
Example plot of a daily hybrid millidecade generated with the
pbp hmb-plot command:
Documentation
Official documentation is available at docs.mbari.org/pbp.
Installation
Please see https://docs.mbari.org/pbp/#installation.
Programs and API
The mbari-pbp package includes command line interface (CLI) programs, and also provides APIs you can use in your Python scripts or notebooks.
CLI Programs
The pbp CLI program includes the following commands:
| Invocation | Description |
|---|---|
pbp meta-gen |
Generate JSON files with audio metadata |
pbp hmb-gen |
Main HMB generation program |
pbp cloud |
Program for cloud based processing |
pbp hmb-plot |
Utility program to plot HMB product |
API
API documentation is available at docs.mbari.org/pbp/api.
References
- PyPAM - Python tool for Passive Acoustic Monitoring – https://doi.org/10.5281/zenodo.6044593
- Computation of single-sided mean-square sound pressure spectral density with 1 Hz resolution follows ISO 18405 3.1.3.13 (International Standard ISO 18405:2017(E), Underwater Acoustics – Terminology. Geneva: ISO) – https://www.iso.org/standard/62406.html
- Hybrid millidecade spectra: A practical format for exchange of long-term ambient sound data – https://asa.scitation.org/doi/10.1121/10.0003324
- Erratum: Hybrid millidecade spectra – https://asa.scitation.org/doi/10.1121/10.0005818
Development
Interested in contributing? Please see DEVELOPMENT.md for details.
Metadata
Release files for mbari-pbp 1.10.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mbari_pbp-1.10.0.tar.gz | 58.4 kB | Without provenance | Details for mbari_pbp-1.10.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mbari_pbp-1.10.0-py3-none-any.whl | Python 3 | none | any | Details for mbari_pbp-1.10.0-py3-none-any.whl |
Total release size: 139.8 kB
Release files / mbari_pbp-1.10.0.tar.gz
| Download URL | mbari_pbp-1.10.0.tar.gz |
|---|---|
| Size | 58.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
85cebc7da22af50a8bc083e7d003528b4fb44feaae354fc04b9635a74205c036
|
|
BLAKE2b-256 checksum How to use checksums |
228f0b9c522055e220a448b0d77b6fb1861f08cfc850b2fcf716172d55904cd4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.5.2 CPython/3.11.18 Linux/7.0.0-1020-azure
|
Release files / mbari_pbp-1.10.0-py3-none-any.whl
| Download URL | mbari_pbp-1.10.0-py3-none-any.whl |
|---|---|
| Size | 81.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e3770544d18d1156939da0b0ba776fee2037b7a1f72759f3e45b203f076e6502
|
|
BLAKE2b-256 checksum How to use checksums |
a7a2a74b26c6cf134bd3015ee45fe5de16625c197a5a438283230b15e10ebfca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.5.2 CPython/3.11.18 Linux/7.0.0-1020-azure
|
Security for mbari-pbp 1.10.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.