pymovements.gaze.transforms.norm#
- pymovements.gaze.transforms.norm(*, columns: tuple[str, str]) Expr #
Take the norm of a 2D series.
The norm is defined by \(\sqrt{x^2 + y^2}\) with \(x\) being the yaw component and \(y\) being the pitch component of a coordinate.
- Parameters:
columns (tuple[str, str]) – Columns to take norm of.
- Returns:
The respective polars expression.
- Return type:
pl.Expr