pymovements.Gaze.clip#
- Gaze.clip(lower_bound: int | float | None, upper_bound: int | float | None, *, input_column: str, output_column: str, **kwargs: Any) None [source]#
Clip gaze signal values.
This method requires a properly initialized
experiment
attribute.After success, the values in
samples
are clipped.- Parameters:
lower_bound (int | float | None) – Lower bound of the clipped column.
upper_bound (int | float | None) – Upper bound of the clipped column.
input_column (str) – Name of the input column.
output_column (str) – Name of the output column.
**kwargs (Any) – Additional keyword arguments to be passed to the
clip()
method.
- Raises:
AttributeError – If
samples
is None, or ifexperiment
is None.