DAS4Whales
Documentation
The full documentation of the DAS4Whales package is available at das4whales.readthedocs.io
About DAS4Whales
Python package to analyze Distributed Acoustic Sensing (DAS) data for marine bioacoustics
Authors:
- Léa Bouffaut, Ph.D.
K. Lisa Yang Center for Conservation Bioacoustics, Cornell Lab of Ornithology, Cornell University. Ithaca (NY), USA
- Quentin Goestchel, Ph.D.
William Wilcock Lab - Ocean Data Lab, School of Oceanography, University of Washington. Seattle (WA), USA
Please cite this package as:
Léa Bouffaut (2023). DAS4Whales: A Python package to analyze Distributed Acoustic Sensing (DAS) data for marine bioacoustics (v0.1.0). Zenodo. https://doi.org/10.5281/zenodo.7760187
Background
Distributed acoustic sensing or DAS, offers exciting new opportunities to eavesdrop on whales by converting existing fiber optic cables into dense listening arrays of strain sensors. It exploits the physics of Raleigh backscattering following the introduction of an interrogating pulse in the fiber, converting time-delays (or phase changes) of the backscattered pulses into strain measurements, analogous to acoustic pressure. DAS is also known as Distributed Fiber Optic Sensing (DFOS), coherent backscattering, Phase Optical Time Domain Reflectometry ($\Phi$-OTDR).
For a complete DAS technical overview see:
Hartog, A. H. (2017). An Introduction to Distributed Optical Fibre Sensors (1st ed.). CRC Press. https://doi.org/10.1201/9781315119014
For the specific application of DAS for whale bioacoustics (we will use the same terminology) see:
Bouffaut, L., Taweesintananon, K., Kriesell, H. J., Rørstadbotnen, R. A., Potter, J. R., Landrø, M., Johansen, S. E., Brenne, J. K., Haukanes, A., Schjelderup, O., & Storvik, F. (2022). Eavesdropping at the Speed of Light: Distributed Acoustic Sensing of Baleen Whales in the Arctic. Frontiers in Marine Science, 9, 901348. https://doi.org/10.3389/fmars.2022.901348
How-to use the das4whales package
This Jupyter notebook available in Colab provides an illustration of the current functionalities of the DAS4Whales python package, available on this GitHub repository. For now, the package enables basic manipulations and visualizations of DAS data such as:
- reading the metadata and loading DAS strain data from a hdf5 file -- functionalities available in the module
das4whales.data_handle, - high-pass, band-pass and frequency-wavenumber (f-k) filtering -- functionalities available in the module
das4whales.dsp, - spatio-temporal (t-x plot), spatio-spectral (f-x plot) and single channel spectro-temporal (spectrogram) representations -- functionalities available in the module
das4whales.plot, - single channel sound playbacks -- functionality available in this notebook
All functions have built-in documentation accessible through the pythonic help(das4whales.module.function) and on the DAS4Whales documentation.
DAS data
If you don't have DAS data, we've got you covered! This notebook is set to automatically download a file from the RAPID: Distributed Acoustic Sensing on the OOI’s Regional Cabled Array experiment in Oregon, which is available in open access. The data we'll look at was recorded using an OptaSense interrogator and is saved in the hdf5 format. To learn more about this experiment see:
Wilcock, W., & Ocean Observatories Initiative. (2023). Rapid: A Community Test of Distributed Acoustic Sensing on the Ocean Observatories Initiative Regional Cabled Array [Data set]. Ocean Observatories Initiative. https://doi.org/10.58046/5J60-FJ89
A final word
Please, report any bugs or issues you may have using this package and notebook either through GitHub Issues or directly by email. This is our first Python package, and we are always keen on learning how to make our work more inclusive, accessible and modular. New contributors are Welcome!
Metadata
Release files for das4whales 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 | |
|---|---|---|---|
| das4whales-0.2.2.tar.gz | 81.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| das4whales-0.2.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 172.5 kB
Release files / das4whales-0.2.2.tar.gz
| Download URL | das4whales-0.2.2.tar.gz |
|---|---|
| Size | 81.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9c1e18641bd8887083fdfd6fb05f8e9af8ec43882d94bbabce4c2e3d875855be
|
|
BLAKE2b-256 checksum How to use checksums |
b73f74cca92ab0a56a62ca2a4c402e8536558cb4b1e83aea96d156b00616f89c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 6, 2026.
Transparency logRelease files / das4whales-0.2.2-py2.py3-none-any.whl
| Download URL | das4whales-0.2.2-py2.py3-none-any.whl |
|---|---|
| Size | 91.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
712785c766a0fe25ff3819db601eb9807f08e52b5d80efe551e56b114c71926a
|
|
BLAKE2b-256 checksum How to use checksums |
54e26077ee0983b11973c9d013408235e0f48c65f660cbf69730ca97f85ed546
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 6, 2026.
Transparency log