pysolate.wavelet.Wavelet

class Wavelet(coefs=None, scales=None, headers=None, **kwargs)[source]

Bases: object

One dimensional continues wavelet transform of a time series

Main class for a single wavelet transform including the station headers, wavelet coefficients and scales. Noise model calculated from the function noise_model is passed through additional kwargs.

Parameters
  • coefs (numpy.ndarray) – Continuous wavelet transform of a time series, the first axis corresponds to the scales and the second axis corresponds to the length of the time series.

  • scales (numpy.ndarray) – Wavelet scales

  • headers (dict, Stats) – header information of the data.

  • M (numpy.ndarray) – mean of noise model.

  • S (numpy.ndarray) – standard deviation of noise model.

  • P (numpy.ndarray) – threshold of the noise signal.

Attributes

statsStats

header of the wavelet transform, including station info.

scalesnumpy.ndarray

wavelet scales.

coefsnumpy.ndarray

wavelet coefficients.

noise_modelAttribDict

noise model

Methods

get_id

Returns the station ID