birdvoxpaint
False-color spectrograms for long-duration bioacoustic monitoring
Installation
BirdVoxPaint is hosted on PyPI. To install, run the following command in your Python environment:
$ pip install birdvoxpaint
To install the latest version from source clone the repository and, from the top-level birdvoxpaint folder, call:
$ python setup.py install
Usage
To analyze an audio file:
import librosa
import birdvoxpaint as bvp
import matplotlib.pyplot as plt
# get the path to the audio file you want to use
audio_path = librosa.example('nutcracker')
# calculate acoustic indices
X = bvp.transform(
audio_path, segment_duration=3, indices=[
bvp.acoustic_complexity_index,
bvp.entropy_based_concentration,
bvp.acoustic_event_count,
])
print(X.shape)
# show
bvp.rgbshow(X)
plt.show()
Metadata
Release files for birdvoxpaint 0.2.2
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 |
|---|---|---|---|---|
| birdvoxpaint-0.2.2.tar.gz | 5.9 kB | Without provenance | Details for birdvoxpaint-0.2.2.tar.gz |
Release files / birdvoxpaint-0.2.2.tar.gz
| Download URL | birdvoxpaint-0.2.2.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cf866b8d680974e4e149e1e524a61075983f8c009b850392f3320b0d7f82cf1f
|
|
BLAKE2b-256 checksum How to use checksums |
79ac14fd1b2c0cec5483941cc1a6bb07bc9dc059edfc935b97c1db3220afe114
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.13
|
Security for birdvoxpaint 0.2.2
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.