Skip to content

poreflow.events.detection

find_events(raw, open_state_range=(200, 300), voltage_range=(175, 185), closing_iterations=10, boundary_trim=[1, 1], n_components=3, degree=DEFAULT_DEGREE, min_frac_os=0.01, min_duration=0.01)

Parameters:

Name Type Description Default
raw RawDataFrame
required
open_state_range tuple[float, float]
(200, 300)
voltage_range tuple[float, float]
(175, 185)
closing_iterations int | bool
10
boundary_trim tuple

Times in ms to remove from the start and ends of an event in ms.

[1, 1]
n_components int
3
degree int
DEFAULT_DEGREE
min_frac_os float
0.01
min_duration float
0.01

Returns: