liamtoney / sonify

Sonification of seismic and infrasound signals

Home Page:https://sonify.rtfd.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sonify

Documentation status Build status Test coverage Link to Black Link to isort

sonify “squeezes” seismic or infrasound signals into audible frequencies and creates animated spectrograms to accompany the audio. Data are pulled from any of the FDSN data centers available through the Incorporated Research Institutions for Seismology (IRIS) Data Management Center (DMC) fedcatalog web service.

Screenshot of example

sonify won an Honorable Mention in the 2020 SciPy John Hunter Excellence in Plotting Contest (JHEPC).

Quickstart

  1. Obtain

  2. Create environment, install, and activate (install conda first, if necessary)

  3. Run using the Python interpreter

    or via the command-line interface

Example

To make a movie of the seismic signal generated by a massive avalanche occurring in Alaska on 21 June 2019, sped up by a factor of 200:

Or (equivalently), via the command-line interface:

The result is a 4K 1fps video file named AV_ILSW_BHZ_200x.mp4. A screenshot of the movie is shown at the top of this README.

Documentation

Application programming interface (API) documentation for the module is available here. For command-line usage instructions, type sonify --help (the sonify conda environment must be active).

Contributing

If you notice a bug with sonify (or if you'd like to request/propose a new feature), please create an issue on GitHub (preferred) or email me at liam@liam.earth_. You are also welcome to create a pull request. Please don't allow imposter syndrome to obstruct you from contributing your valuable ideas and skills to this project — I'm happy to help you contribute in any way I can.

About

Sonification of seismic and infrasound signals

https://sonify.rtfd.io

License:MIT License


Languages

Language:Python 98.3%Language:Shell 1.7%