PyPAM based Processing
Project description
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
Documentation
Installation
The only requirement is Python 3.9, 3.10, or 3.11 on your environment.[^1]
You can run python3 --version
to check the version of Python installed.
[^1]: As currently required by PyPAM.
As a general practice, it is recommended to use a virtual environment for the installation.
python3.11 -m venv virtenv
source virtenv/bin/activate
Install the package:
pip install mbari-pbp
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 package includes the following CLI programs:
Program | 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
TODO link to the API documentation.
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
See DEVELOPMENT.md for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file mbari_pbp-1.5.1.tar.gz
.
File metadata
- Download URL: mbari_pbp-1.5.1.tar.gz
- Upload date:
- Size: 39.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.9.20 Linux/6.8.0-1014-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a173e00462d8aaf1af1e2cdfb2848a58aa24bc5321001df496ca7fb6facae64 |
|
MD5 | 488d7d1bf71c142ea175f9defb53d1da |
|
BLAKE2b-256 | 819e553c377ca3d69126b2cadcdd50ce66186eaa2a7e34f2c1c0735b364ef5d6 |
File details
Details for the file mbari_pbp-1.5.1-py3-none-any.whl
.
File metadata
- Download URL: mbari_pbp-1.5.1-py3-none-any.whl
- Upload date:
- Size: 51.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.9.20 Linux/6.8.0-1014-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39f126e7cbb1dd7379e93c5e4b04ade0e1c231f9492fa2fd232e9fec6c71ef02 |
|
MD5 | 3ed806958d33e5d178b709a6855c11de |
|
BLAKE2b-256 | 46c0683d6e3f103d561e0220bb66a9632ed5151e4c0f70c7699b10b2526cb4cf |