Skip to main content

load_events_py

Function load_events_py 

Source
pub fn load_events_py(
    py: Python<'_>,
    path: &str,
    sort: bool,
    x_col: Option<usize>,
    y_col: Option<usize>,
    t_col: Option<usize>,
    p_col: Option<usize>,
    header_lines: usize,
) -> PyResult<PyObject>
Expand description

Load events from a file and return the full decoded frame.

Row filters are deliberately not exposed here: they were broken three independent ways (one-sided bounds ignored, seconds compared against microsecond values, HDF5/AEDAT paths ignoring them entirely; 2026-08-08 review, R3). Use evlib.load_events, which applies filters as Polars expressions on the returned LazyFrame.