neuroglia.trace.
WhenTrueFinder
[source]¶Finds times when a trace is non-negative
This transformer returns a list of events, shaped like a spike table.
This is useful, for example, for constructing a spike table from inferred spike events.
Notes
This estimator is stateless (besides constructor parameters), the fit method does nothing but is useful when used in a pipeline.
Methods
__init__ () |
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) |
Find times when trace is greater than zero |