class DSP::Extrema::LocalExtremaSearchStateMachine

Defined in:

dsp/analysis/extrema.cr

Constant Summary

NEGATIVE_DIFF = :negative_diff
POSITIVE_DIFF = :positive_diff
ZERO_DIFF = :zero_diff

Constructors

Instance Method Summary

Constructor Detail

def self.new(first_diff : Float64) #

[View source]

Instance Method Detail

def diff_type(diff : Float64) : Symbol #

[View source]
def found_maxima : Bool #

[View source]
def found_minima : Bool #

[View source]
def process(diff) #

[View source]