birdvoxpaint


Namebirdvoxpaint JSON
Version 0.2.2 PyPI version JSON
download
home_page
SummaryBird Vox False-Color Spectrograms
upload_time2023-12-20 11:26:47
maintainer
docs_urlNone
authorPhincho Sherpa, Vincent Lostanlen, Bea Steers
requires_python
licenseMIT License
keywords acoustic detection bird calls fault identification false color spectrogram librosa
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            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:

```bash
$ pip install birdvoxpaint
```

To install the latest version from source clone the repository and, from the top-level `birdvoxpaint` folder, call:

```bash
$ python setup.py install
```


## Usage

To analyze an audio file:

```python
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()
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "birdvoxpaint",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "acoustic detection bird calls fault identification false color spectrogram librosa",
    "author": "Phincho Sherpa, Vincent Lostanlen, Bea Steers",
    "author_email": "vincent.lostanlen@cnrs.fr",
    "download_url": "https://files.pythonhosted.org/packages/79/ac/14fd1b2c0cec5483941cc1a6bb07bc9dc059edfc935b97c1db3220afe114/birdvoxpaint-0.2.2.tar.gz",
    "platform": null,
    "description": "birdvoxpaint\n============\nFalse-color spectrograms for long-duration bioacoustic monitoring\n\n\n## Installation\n\nBirdVoxPaint is hosted on PyPI. To install, run the following command in your Python environment:\n\n```bash\n$ pip install birdvoxpaint\n```\n\nTo install the latest version from source clone the repository and, from the top-level `birdvoxpaint` folder, call:\n\n```bash\n$ python setup.py install\n```\n\n\n## Usage\n\nTo analyze an audio file:\n\n```python\nimport librosa\nimport birdvoxpaint as bvp\nimport matplotlib.pyplot as plt\n\n# get the path to the audio file you want to use\naudio_path = librosa.example('nutcracker')\n\n# calculate acoustic indices\nX = bvp.transform(\n    audio_path, segment_duration=3, indices=[\n        bvp.acoustic_complexity_index,\n        bvp.entropy_based_concentration,\n        bvp.acoustic_event_count,\n    ])\n\nprint(X.shape)\n\n# show\nbvp.rgbshow(X)\nplt.show()\n```\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "Bird Vox False-Color Spectrograms",
    "version": "0.2.2",
    "project_urls": null,
    "split_keywords": [
        "acoustic",
        "detection",
        "bird",
        "calls",
        "fault",
        "identification",
        "false",
        "color",
        "spectrogram",
        "librosa"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "79ac14fd1b2c0cec5483941cc1a6bb07bc9dc059edfc935b97c1db3220afe114",
                "md5": "73e5d0dc99d0191c09d9a13102c972a6",
                "sha256": "cf866b8d680974e4e149e1e524a61075983f8c009b850392f3320b0d7f82cf1f"
            },
            "downloads": -1,
            "filename": "birdvoxpaint-0.2.2.tar.gz",
            "has_sig": false,
            "md5_digest": "73e5d0dc99d0191c09d9a13102c972a6",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 5905,
            "upload_time": "2023-12-20T11:26:47",
            "upload_time_iso_8601": "2023-12-20T11:26:47.038066Z",
            "url": "https://files.pythonhosted.org/packages/79/ac/14fd1b2c0cec5483941cc1a6bb07bc9dc059edfc935b97c1db3220afe114/birdvoxpaint-0.2.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-20 11:26:47",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "birdvoxpaint"
}
        
Elapsed time: 0.15322s