A DASCore bridge to DASPy.
dascorepy exposes selected DASPy functionality on DASCore patches through the patch.daspy namespace. It focuses on DASPy operations that DASCore does not already provide, while preserving DASCore semantics.
uv pip install dascorepyimport dascore as dc
patch = dc.get_example_patch()
denoised = patch.daspy.common_mode_noise_removal()
velocity = patch.daspy.fk_rescaling()| Method | What it adds |
|---|---|
to_section |
Convert a DASCore patch to a DASPy Section. |
common_mode_noise_removal |
Remove common-mode noise with DASPy. |
curvelet_denoising |
Reduce stochastic noise with curvelet denoising. |
channel_checking |
Detect bad channels from per-channel energy, or keep only good channels. |
turning_points |
Add a boolean turning_point coordinate along distance. |
curvelet_windowing |
Retain, remove, or decompose energy by apparent velocity. |
fk_rescaling |
Convert strain or strain rate with FK-domain rescaling. |
curvelet_conversion |
Convert strain or strain rate with DASPy curvelets. |
slant_stacking |
Convert strain or strain rate with local slant stacking. |
This package wraps algorithms from DASPy. If you use this package in research, please cite DASPy:
Hu, M., & Li, Z. (2024). DASPy: A Python toolbox for DAS seismology. Seismological Research Letters, 95(5), 3055-3066.
doi: 10.1785/0220240124
See also the DASPy Publication page and DASPy tutorial.