Documentation ¶
Index ¶
- func CarlStaTrig(a []float64, nsta, nlta int, ratio, quiet float64) []float64
- func ClassicStaLta(a []float64, nsta, nlta int) []float64
- func DelayedStaLta(a []float64, nsta, nlta int) []float64
- func RecursiveStaLta(a []float64, nsta, nlta int) []float64
- func TriggerOnset(charfct []float64, thres1, thres2 float64, maxLen int, maxLenDelete bool) [][]int
- func ZDetect(a []float64, nsta int) []float64
- type Filter
- func (f *Filter) Butterworth(data []float64, poles int, delta, lowCorner, highCorner float64, ...) ([]float64, error)
- func (f *Filter) ChebyshevI(data []float64, poles int, delta, lowCorner, highCorner, ripple float64, ...) ([]float64, error)
- func (f *Filter) ChebyshevII(data []float64, poles int, delta, lowCorner, highCorner, ripple float64, ...) ([]float64, error)
- type PassbandType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CarlStaTrig ¶
Computes the carlSTAtrig characteristic function. Translated from Obspy. https://docs.obspy.org/tutorial/code_snippets/trigger_tutorial.html#carl-sta-trig
func ClassicStaLta ¶
Computes the standard STA/LTA from a given input array a. The length of the STA is given by nsta in samples, respectively is the length of the LTA given by nlta in samples. Translated from Obspy. https://docs.obspy.org/tutorial/code_snippets/trigger_tutorial.html#classic-sta-lta
func DelayedStaLta ¶
Delayed STA/LTA. Translated from Obspy. https://docs.obspy.org/tutorial/code_snippets/trigger_tutorial.html#delayed-sta-lta
func RecursiveStaLta ¶
Recursive STA/LTA, translated from Obspy. https://docs.obspy.org/tutorial/code_snippets/trigger_tutorial.html#recursive-sta-lta
func TriggerOnset ¶
Types ¶
type Filter ¶ added in v0.0.2
type Filter struct {
// contains filtered or unexported fields
}
func (*Filter) Butterworth ¶ added in v0.0.2
func (*Filter) ChebyshevI ¶ added in v0.0.2
func (*Filter) ChebyshevII ¶ added in v0.0.2
type PassbandType ¶ added in v0.0.2
type PassbandType = int
const ( LOWPASS PassbandType = iota HIGHPASS BANDPASS )