Lightweight standalone IO + basic processing for DAS (Distributed Acoustic Sensing) data
Project description
dasio
Lightweight, standalone IO + basic processing for DAS (Distributed Acoustic
Sensing) data: vendor HDF5 readers (ASN/OptoDAS, OptaSense/QuantX, AP Sensing),
a Proc processed format, an Event format, a numpy DASdata container, a
file catalog (DASdb), and signal processing including a C++/OpenMP bandpass.
Install (development)
This package contains a compiled C++ extension. Always install editable so the extension builds in place:
pip install -e .
Build requirements: a C++14 compiler, CMake ≥3.15, and OpenMP (e.g.
apt-get install build-essential libomp-dev). pybind11 and scikit-build-core
are pulled automatically by the build.
Optional extras
Ambient-noise cross-correlation and phase picking have heavier, optional dependencies, exposed as install extras (still editable):
pip install -e '.[noise]' # ambient-noise cross-correlation (dasio.noise) -> PyTorch
pip install -e '.[pick]' # PhaseNet-DAS P/S picking (dasio.pick_phases) -> phasenet (+ PyTorch)
pip install -e '.[noise,pick]' # both
Both are imported lazily, so the rest of dasio works without them installed.
Quickstart
from dasio import DASFile
d = DASFile('file.h5').read() # auto-detects the vendor format -> DASdata
d.bandpass(1.0, 10.0).subtract_common_mode().plot() # filter -> denoise -> waterfall
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file dasio-0.1.1.tar.gz.
File metadata
- Download URL: dasio-0.1.1.tar.gz
- Upload date:
- Size: 88.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a44b2a2877a34fa5752215ca7c68551d59764b3fed802455b0e8499426d5301c
|
|
| MD5 |
eb6568972dee17a33601243a639784e8
|
|
| BLAKE2b-256 |
eb41186c037f1e08b88189be1465d58557cfdf805fa10a24b22ea4ff028da363
|