Grounding represents whether and to what extent both feet are grounded. Near the maximum value, both feet are in contact with the ground, and near the minimum value, both legs are far from the ground with a large extent equals to jump and small extent equals to walk. Specifically, a peak value of 0.7 corresponds to actions like jumping, 0.9 to  actions like walking or running. 

To find the local minima, we identify the ranges where the values reach a low point within the dataset. A local minimum is a point where the value is lower than its neighboring values. This indicates periods of less activity or reduced movement. The detection is based on a threshold percentage (e.g., 20% above the minimum value) to focus on the most significant dips. The output lists the frame ranges where these dips occur and their respective values.