module interpolation
Interpolate over low confidence data
function interpolate_lowconf_points
interpolate_lowconf_points(
edf: DataFrame,
conf_threshold: float = 0.9,
in_place: bool = True,
rolling_window: bool = True,
window_size: int = 3
) → DataFrame
Interpolate raw tracking points if their probabilities are available.
Args:
edf
: pandas DataFrame containing the tracks to interpolateconf_threshold
: default 0.9. Confidence below which to count as uncertain, and to interpolate its value insteadin_place
: default True. Whether to replace data in placerolling_window
: default True. Whether to use a rolling window to interpolatewindow_size
: default 3. The size of the rolling window to use
Returns: Pandas dataframe with the filtered raw columns. Returns None if opted for in_place modification
This file was automatically generated via lazydocs.