I'm having trouble with the Pulse Detect. For an essentially flat-line input, it is returning peaks with extraordinarily high numbers (ie, exponents to -317). Yet, with test data generated just before the call, it works fine and detects peaks / valleys.
Does someone have example code for this?