Skip to main content

A DASCore patch bridge to DASPy.

Project description

dascorepy

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.

Installation

uv pip install dascorepy

Usage

import dascore as dc

patch = dc.get_example_patch("example_event_1")

denoised = patch.daspy.common_mode_noise_removal()
velocity = patch.daspy.fk_rescaling()

Namespace Methods

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.

DASPy Reference

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dascorepy-0.1.0.tar.gz (15.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dascorepy-0.1.0-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file dascorepy-0.1.0.tar.gz.

File metadata

  • Download URL: dascorepy-0.1.0.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for dascorepy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0dab97b027459b215a285c9ffae0eac657d2ec748c40935c2f688341f85171ee
MD5 5bcedeaa95e8f837b7d6e33302544f6a
BLAKE2b-256 cf0bbc41843a1e9d26ce514c3222fa4fe447b64778ca5bb23abcf1b256d2fc64

See more details on using hashes here.

File details

Details for the file dascorepy-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: dascorepy-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for dascorepy-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e3da682ae0daae219e61ea520d9f439249df7aebcf27ba74d4d26566ff4047e9
MD5 981213ed532d9494c44e481ec1a0befe
BLAKE2b-256 8bf9fba037270e6d680b0001dfd6b93e1c95b92d7ee8e81b01d75dfd45dc0f0b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page