MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ refractory_gate_state()

MAYAFLUX_API std::vector< double > MayaFlux::Kinesis::Discrete::refractory_gate_state ( double  period,
double  threshold = 0.5 
)

Builds the array refractory_gate reads and writes.

Parameters
periodSeconds to stay shut after firing
thresholdLevel the input must exceed

Layout: [last fire time, period, threshold].

Definition at line 220 of file Boolean.cpp.

221{
222 return { std::numeric_limits<double>::lowest(), period, threshold };
223}
float threshold

References threshold.