Routines for time series data processing
Uses the obspy seismological Trace, Stream (data) and Inventory (metadata) classes, but should work for non-seismology datasets as well
CleanRotator
: rotate data to minimize noise on vertical channelDataCleaner
: Transfer_Function-based data cleaningDecimator
: Decimate time series and update metadata with the decimator's responseSpectralDensity
: Calculate and manipulate spectral density functions.TimeSpans
: Specify time spans to be removed, kept, zeroed, etc.ResponseFunctions
: Frequency response functions for a given input channel.
-
FIR_corr
: transform zero-phase data to minimum phase (only works for LCHEAPO loggers, need to update to calculate/work for any zero-phase filter) -
readMSEED
: read in MSEED data, including if the file is too big (> 2 GB) for obspy's read() function -
rptransient
: calculate and remove periodic transient (VERY manual!).
Based on Matlab code by E Wielandt, used in Deen et al., 2017 -
PetersonNoiseModel
: return the Peterson High and Low Noise Models
First, install obspy
using the instructions on their webpage.
Then, in the pip/conda environment that contains obspy...
Clone or download this repository, then from within the main repository directory, run:
pip install .
You can also install in editable mode (for developers), with:
pip install -e .
Type pip install tiskitpy