pyrocko.squirrel.operators.spectrogram

Classes

MultiSpectrogramOperator(*args, **kwargs)

Undocumented.

Pow2Windowing(**kwargs)

Undocumented.

SpectrogramGroup(**kwargs)

Undocumented.

class Pow2Windowing(**kwargs)[source]

Bases: Object

Undocumented.

♦ nblock

int, default: 1024

♦ nlevels

int, default: 4

♦ weighting_exponent

int, default: 2

class SpectrogramGroup(**kwargs)[source]

Bases: Object

Undocumented.

♦ codes

pyrocko.model.codes.CodesNSLCE

♦ tmin

pyrocko.util.get_time_float (pyrocko.guts.Timestamp)

♦ tmax

pyrocko.util.get_time_float (pyrocko.guts.Timestamp)

♦ deltat

float

♦ windowing

Pow2Windowing

♦ levels

list of pyrocko.carpet.Carpet objects, default: []

get_multi_spectrogram(interpolation='cos', min_weight=0.9)[source]

Merge the levels into one spectrogram.

Each frequency is a weighted average over the levels covering it. Levels without data (NaN) at a given time are left out and the weights of the others are renormalized. The result is NaN where the levels with data hold less than min_weight of the total weight.

class MultiSpectrogramOperator(*args, **kwargs)[source]

Bases: Operator

Undocumented.

♦ codes_projection

pyrocko.squirrel.operators.base.CodesProjectionBase, default: CodesProjection(template='{i.network}.{i.station}.{i.location}.{i.channel}.{i.extra}MS')

♦ windowing

Pow2Windowing, default: Pow2Windowing()

♦ quantity

str (pyrocko.squirrel.model.QuantityType), default: 'velocity'

♦ tinc_max

float, optional

♦ interpolation

str (pyrocko.guts.StringChoice), default: 'cos'