emd.sift.sd_stop

emd.sift.sd_stop(proto_imf, prev_imf, sd=0.2, niters=None)[source]

Compute the sd sift stopping metric.

Parameters
proto_imfndarray

A signal which may be an IMF

prev_imfndarray

The previously identified IMF

sdfloat

The stopping threshold

nitersint

Number of sift iterations currently completed

nitersint

Number of sift iterations currently completed

Returns
bool

A flag indicating whether to stop siftingg

float

The SD metric value