neuroglia.trace.
EdgeDetector
(falling=False)[source]¶Detect rising or falling edges in a trace
This transformer detects edges in a trace, where the value of an observation is higher (by default) or lower (if falling=True) than the prior observation.
Parameters: | falling (boolean, optional (False by default)) – Setting this parameter to True will detect falling edges |
---|
Notes
This estimator is stateless (besides constructor parameters), the fit method does nothing but is useful when used in a pipeline.
Methods
__init__ ([falling]) |
x.__init__(…) initializes x; see help(type(x)) for signature |
fit (X[, y]) |
Do nothing and return the estimator unchanged |
fit_transform (X[, y]) |
Fit to data, then transform it. |
get_params ([deep]) |
Get parameters for this estimator. |
set_params (**params) |
Set the parameters of this estimator. |
transform (X) |
Detect Edges in each trace |