3.15. cpforager.processing.add_is_suspicious

cpforager.processing.add_is_suspicious(df, params)

Add to the dataframe the additional is_suspicious boolean column tagging suspicious position recordings.

Parameters:
  • df (pandas.DataFrame) – dataframe with a step_speed column.

  • params (dict) – parameters dictionary.

Returns:

the dataframe with the additional is_suspicious boolean column tagging suspicious position recordings.

Return type:

pandas.DataFrame

The idea is to make it possible to clean the data of its position recording bugs.

Note

The required fields in the parameters dictionary are max_possible_speed.

Important

Bugs in the position recordings may suggest a dive.