Torque represents the torque value on the limbs (both arms, both legs). Near the maximum value, the torque value on the body is higher (more movement) indicating that the body is actively performing an action. Near the minimum value, the torque value on the body is lower (less movement). 

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.