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()
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 | |
|---|---|---|---|
| birdvoxpaint-0.2.2.tar.gz | 5.9 kB | Details |
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
|