Overview
Routines for time series data processing
Use the obspy seismological Trace, Stream (data) and Inventory (metadata) classes, but should work for non-seismology datasets as well if you stuff them into those classes
Classes
CleanRotator: Rotate data to minimize noise on vertical channelSeafloorSynthetic: Generate broadband OBS pressure and acceleration noise and compliance signalsDataCleaner: Transfer_Function-based data cleaningDecimatorDecimate time series and update metadata with thedecimator’s response
PeriodicTransient: Calculate and remove periodic transient (VERY manual!)SpectralDensity: 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.CleanedStreamobspy Stream subclass that handlescleaned_sequenceinformation
Functions
fir2causTransform zero-phase data to minimum phase (only worksfor LCHEAPO loggers, need to update to calculate/work for any zero-phase filter)
read_MSEEDRead MSEED data, even if the file is too big (> 2 GB)for obspy’s read() function
Peterson_noise_model: Return the Peterson High and Low Noise ModelsSeismo_noise_model: Return the Peterson + xxx High and Low Noise ModelsPressure_noise_model: Return the Brown et al. [2014] High and Low Noise Modelsstream_synchronizeReturn a synchronized stream (all traces havesame starttime and endtime). Raises ValueError if not all streams have the same sample_rate
stream_unmask: unmasks data in a stream, interpolating to fill any gapsplot_compliance_stack: plot Z spectra, P spectra, coherence and freq resp function
Command-line programs
Use the -h option for help
tiskitpy_decimate_SDS: Decimate data stored in a SeisComp Data Structure database.tiskitpy_get_SDS_inventory: Return the inventory corresponding to a SeisComp Data Structure database, using the FDSN Station webservice