transform

module of dascore source

A module for applying transformation to Patches.

Transforms are defined as

Functions

Name Description
dft Perform the discrete Fourier transform (dft) on specified dimension(s).
differentiate Calculate first derivative along dimension(s) using central differences.
dispersion_phase_shift Compute dispersion images using the phase-shift method.
envelope Calculate the envelope of a signal using the Hilbert transform.
fbe Compute the rolling Frequency Band Energy in a window.
hilbert Perform a Hilbert transform on a patch.
idft Perform the inverse discrete Fourier transform (idft) on specified dimension(s).
integrate Integrate along a specified dimension using composite trapezoidal rule.
istft Invert a short-time fourier transform.
kurtosis Compute kurtosis along a patch dimension.
median_frequency Compute the median frequency of a Fourier-domain patch.
phase_weighted_stack Apply phase weighted stacking to enhance coherent signals.
radians_to_strain Convert data in radians to strain (rate).
spectral_centroid Compute the spectral centroid of a Fourier-domain patch.
spectral_entropy Compute spectral entropy from a Fourier-domain patch.
spectral_flatness Compute spectral flatness from a Fourier-domain patch.
spectral_kurtosis Compute spectral kurtosis from a Fourier-domain patch.
spectral_peak_amplitude Compute the peak spectral amplitude of a Fourier-domain patch.
spectral_peak_frequency Compute the peak frequency of a Fourier-domain patch.
stalta Compute the short-term / long-term average (STA/LTA) ratio along a patch dimension.
stft Perform a short-time fourier transform.
tau_p Compute linear tau-p transform.
velocity_to_strain_rate Convert velocity DAS data to strain rate using central differences.
velocity_to_strain_rate_edgeless Estimate strain-rate using central differences.

Classes

Name Description
Envelope Calculate the envelope of a signal using the Hilbert transform.
Hilbert Perform a Hilbert transform on a patch.
Kurtosis Compute kurtosis along a patch dimension.
RadiansToStrain Convert data in radians to strain (rate).

Modules

Name Description
dispersion Dispersion computation using the phase-shift (Park et al., 1999) method.
fourier Module for Fourier transforms.
spectral_descriptors Spectral descriptor transforms for DASCore patches.
strain Transformations related to strain.
taup Tau-p Patch transforms.
_kurtosis_kernels Numba kernels for the kurtosis transform.
stalta Patch function for ‘short-term average’ to ‘long-term average’ ratio transform
hilbert Patch functions based on the Hilbert transform.
differentiate Module for performing differentiation on patches.
fbe Patch function for ‘Frequency-Band Energy’ transform
kurtosis Patch function for kurtosis transform
_taup_kernels Numba kernels for the tau-p transform.
integrate Module for performing integration on patches.