Skip to main content

automated quantitation of vocal learning in songbirds

Project description

songdkl

Continuous Integration Status

About

automated quantitation of vocal learning in the songbird

As described in:
Mets, David G., and Michael S. Brainard.
"An automated approach to the quantitation of vocalizations and vocal learning in the songbird."
PLoS computational biology 14.8 (2018): e1006437.
https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1006437&rev=2

Data for demo and testing is from the following Dryad data package:
Mets, David G.; Brainard, Michael S. (2019), Data from: An automated approach to the quantitation of vocalizations and vocal learning in the songbird., Dryad, Dataset, https://doi.org/10.5061/dryad.8tn4660
Dataset can be downloaded here:
https://datadryad.org/stash/dataset/doi:10.5061/dryad.8tn4660

Installation

as a user

$ pip install songdkl
We recommend installing into a virtual environment, in order to capture the compute environment for computational projects. For more information and good practices, please see:
https://the-turing-way.netlify.app/reproducible-research/renv.html

as a developer

This project uses the library nox as a task runner, to automate tasks like setting up a development environment. Each task is represented as what nox calls a "session", and you can run a session by invoking nox at the command-line with the name of the session.

So, to set up a virtual environment for development with songdkl installed in "editable" mode, run the "dev" session.

We suggest using pipx to install nox in an isolated environment, so that nox can be accessed system-wide without affecting anything else on your machine.

  1. Install pipx, e.g. with brew (and brew works on Linux too)
  2. Install nox with pipx: pipx install nox
  3. Use nox to run the dev session: nox -s dev
  4. Activate the virtual environment: . ./.venv/bin/activate (and/or tell your IDE to use it)

Usage

songdkl provides a command-line interface (cli) that allows the user to run the program from the terminal.

The cli makes two commands available:

  • calculate, to compute the songdkl between two directories of songs, e.g., from 2 birds
    $ songdkl calculate bird1_dir bird2_dir

  • numsyls, to estimate the number of syllables in a bird's song
    $ songdkl numsyls bird1_dir

For details on usage, please run songdkl --help.

Citation

If you use this software, please cite the DOI:
DOI

Please also cite the original paper: Mets, David G., and Michael S. Brainard.
"An automated approach to the quantitation of vocalizations and vocal learning in the songbird."
PLoS computational biology 14.8 (2018): e1006437.
https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1006437&rev=2

@article{mets2018automated,
  title={An automated approach to the quantitation of vocalizations and vocal learning in the songbird},
  author={Mets, David G and Brainard, Michael S},
  journal={PLoS computational biology},
  volume={14},
  number={8},
  pages={e1006437},
  year={2018},
  publisher={Public Library of Science San Francisco, CA USA}
}

If you use the accompanying Dryad dataset, please cite that as well:
Mets, David G.; Brainard, Michael S. (2019), Data from: An automated approach to the quantitation of vocalizations and vocal learning in the songbird., Dryad, Dataset, https://doi.org/10.5061/dryad.8tn4660

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

songdkl-0.4.0.tar.gz (314.9 kB view details)

Uploaded Source

Built Distribution

songdkl-0.4.0-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

Details for the file songdkl-0.4.0.tar.gz.

File metadata

  • Download URL: songdkl-0.4.0.tar.gz
  • Upload date:
  • Size: 314.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.28.1

File hashes

Hashes for songdkl-0.4.0.tar.gz
Algorithm Hash digest
SHA256 c3465098251559aacf937ee9ed4ed53303bda82a0c033c2248c92c22b7a7285e
MD5 47cc9e1631ba653e168faa50513a8428
BLAKE2b-256 4fd7e9569438dd568f7e9d678b65a9d0b2f584c73ac74ffda77c88a1b1e715f1

See more details on using hashes here.

File details

Details for the file songdkl-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: songdkl-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 22.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.28.1

File hashes

Hashes for songdkl-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9fe5656c5e2a1cdc8f19e7f936e96ae1809fb8f37802d8800b8239a7b764eef4
MD5 1782088566d470355247fce177b7fded
BLAKE2b-256 c6cc8aa0d7c5127b227e2925cc668e5ba1ab12e32a7f691aa4822ca4be089d9c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page