DASPy
DASPy is an open-source Python package for Distributed Acoustic Sensing (DAS) data processing.
The project aims to lower the barrier for DAS processing and to provide a practical toolkit for DAS seismology workflows.
Features
DASPy includes:
- Classic seismic processing: preprocessing, filtering, spectral analysis, and visualization.
- DAS-oriented algorithms: denoising, wavefield decomposition, channel analysis, and strain-velocity conversion.
- Convenient data structures:
Section,Collection, andDASDateTimefor waveform, continuous acquisition, and time handling workflows.
Documentation
- English tutorial: https://daspy-tutorial.readthedocs.io/en/latest/
- 中文教程: https://daspy-tutorial-cn.readthedocs.io/zh-cn/latest/
- Example notebook:
document/example.ipynb
Installation
DASPy supports Python 3.9+ on Linux, macOS, and Windows.
pip
Install from PyPI:
pip install daspy-toolbox
Install the latest development version:
pip install git+https://github.com/HMZ-03/DASPy.git
conda
conda install conda-forge::daspy-toolbox
If you are using Python 3.13 or later, installation through conda may fail
because segyio is not yet available for all conda-forge builds. In that case,
use pip or Python 3.12 and earlier.
Manual installation
- Install dependencies:
numpy,scipy>=1.13,matplotlib,geographiclib,pyproj,h5py,segyio,nptdms,tqdm. - Add DASPy to your Python path, or install it in editable mode:
git clone https://github.com/HMZ-03/DASPy.git
cd DASPy
pip install -e .
Quick start
from daspy import read
sec = read() # load the built-in example waveform
sec.bandpass(1, 15)
sec.plot()
Contributing
Contributions are welcome. Please see CONTRIBUTING.md.
Reference
- Minzhe Hu and Zefeng Li (2024),
DASPy: A Python Toolbox for DAS Seismology,
Seismological Research Letters, 95(5), 3055–3066,
doi:
https://doi.org/10.1785/0220240124.
Contact
If you have questions, please contact hmz2018@mail.ustc.edu.cn.
Release files for DASPy-toolbox 1.2.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| daspy_toolbox-1.2.7.tar.gz | 19.2 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| daspy_toolbox-1.2.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 38.5 MB
Release files / daspy_toolbox-1.2.7.tar.gz
| Download URL | daspy_toolbox-1.2.7.tar.gz |
|---|---|
| Size | 19.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e2b55ae1be5977b270646efbb70a287a93b668727f26bcb27cae92fbf9a02fe7
|
|
BLAKE2b-256 checksum How to use checksums |
c210f646acf946f974c5d6167a191c031f21ee311ae5e16153905d59d4fedcb4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Aug 28, 2026.
Transparency logRelease files / daspy_toolbox-1.2.7-py3-none-any.whl
| Download URL | daspy_toolbox-1.2.7-py3-none-any.whl |
|---|---|
| Size | 19.2 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5b391e8acd063c28323193ae12fac5c5b358d889b90f90e3966b19df96c1cd76
|
|
BLAKE2b-256 checksum How to use checksums |
5f20e1600f4835cb12350354e879704304cd404a6c6898fadaddea6b4379bfc3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Aug 28, 2026.
Transparency log