4.16. cpforager.processing.add_pitch

cpforager.processing.add_pitch(df)

Add to the dataframe the additional pitch column that gives the pitch angle in degrees.

Parameters:

df (pandas.DataFrame) – dataframe with ax_s, ay_s and az_s columns.

Returns:

the dataframe with an additional pitch column that gives the pitch angle in degrees.

Return type:

pandas.DataFrame