BaseOrientationEstimation#

class mobgap.orientation_estimation.base.BaseOrientationEstimation[source]#

Base class for the individual Orientation estimation methods that work on pd.DataFrame data.

Attributes:
orientation_

Orientations as pd.DataFrame.

rotated_data_

Rotated data.

Methods

clone()

Create a new instance of the class with all parameters copied over.

estimate(data, *, sampling_rate_hz, **kwargs)

Estimate the orientation of the sensor based on the input data.

get_params([deep])

Get parameters for this algorithm.

set_params(**params)

Set the parameters of this Algorithm.

__init__(*args, **kwargs)#
clone() Self[source]#

Create a new instance of the class with all parameters copied over.

This will create a new instance of the class itself and all nested objects

estimate(
data: DataFrame,
*,
sampling_rate_hz: float,
**kwargs: Unpack[dict[str, Any]],
) Self[source]#

Estimate the orientation of the sensor based on the input data.

get_params(deep: bool = True) dict[str, Any][source]#

Get parameters for this algorithm.

Parameters:
deep

Only relevant if object contains nested algorithm objects. If this is the case and deep is True, the params of these nested objects are included in the output using a prefix like nested_object_name__ (Note the two “_” at the end)

Returns:
params

Parameter names mapped to their values.

property orientation_: DataFrame#

Orientations as pd.DataFrame.

property rotated_data_: DataFrame#

Rotated data.

set_params(**params: Any) Self[source]#

Set the parameters of this Algorithm.

To set parameters of nested objects use nested_object_name__para_name=.

Examples using mobgap.orientation_estimation.base.BaseOrientationEstimation#

SL Zijlstra

SL Zijlstra

ElGohary Turning Algo

ElGohary Turning Algo