pysolate.block.Block
- class Block(params, event, waveforms)[source]
Bases:
objectRoot object for the time series and CWT
Main class object that handles the processing of seismic data using the continuous wavelet transform. The
tagsattribute is a list of available processed waveforms and their wavelet transforms, depending on the choices set inParameter. See all possible tags below.- Parameters
Attributes
paramsParameter objectCWT operations.
eventObsPy eventevent information.
waveformsWaveforms objectseismic waveforms.
waveletsWaveletCollection objectwavelet transforms of the processed data.
noise_model_tagstrwavelet transform of data used to estimate the noise model, depending on the processing choices this will be
"input","band_rejected"orNone.
Available Tags
tagparameters
description
“input”
none
input data
“band_rejected”
bandpass_blockingapplied a band rejection filter
“noise_removed”
noise_thresholdnoise removed from data
“signal_removed”
signal_thresholdsignal removed from data
Basic Usage
>>> import pysolate as bcs >>> block = bcs.read(data="testdata/5014.YW.0.sp0011.DPZ") >>> block.run()
Methods
Function to return a list of available stations
Returns a
WaveformsobjectReturns a
WaveletCollectionobjectPlot the time-frequency representation, or scalogram, of the current pysolate Block object
Reconstruct time series
Function to run the CWT-based thresholding operations
Write the processed data to file
Attributes
Returns an ObsPy event object containing information that describes the seismic event
Returns a list of available tags in the dataset after applying the wavelet thresholding operations