class

DSP::Analysis::Detrend

Inherits Reference < Object

Class methods

apply(signal : Array(Float64), constant? : Bool = false) : Hash(Symbol, Array(Float64))

This method detrends the signal and returns it. Returns: double[] Detrended signal Throws: IllegalArgumentException – if node is not linear, constant or poly

Source
apply(signal : Array(Float64), mode = DSP::Analysis::Mode::LINEAR, power : Int32 = 1) : Hash(Symbol, Array(Float64))
Source
find_mean(arr : Array(Float64)) : Float64
Source
generate_x(signal : Array(Float64)) : Array(Float64)
Source