Skip to content

Main content

Joint Angle Wrap Direction Token Tool

Directed bench angle difference on a 360-degree circle under an explicit direction convention.

Loading tool…

Description

Directed bench angle difference on a 360-degree circle under an explicit direction convention.

Movement research distinguishes elapsed time, active time, cycle phase, measured force, and assessment-score conventions. Normalizing or remapping these quantities can help compare records when their units and definitions agree. A local arithmetic term does not by itself validate a functional assessment or an exercise program.

Directed bench angle difference on a 360-degree circle under an explicit direction convention.

When to use this tool

Use Joint Angle Wrap Direction Token when you need this motion, timing, force, annotation, or score-mapping component for supplied research records.

How to use the tool and how it works

  1. Enter fromDegrees, toDegrees, clockwise. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read directedDegrees. Use the output convention below.

Return the nonnegative remainder modulo 360 of fromDegrees-toDegrees if clockwise, otherwise toDegrees-fromDegrees.1

Input fieldMeaning and unitsAccepted input
fromDegreesFrom DegreesRequired. Finite number.
toDegreesTo DegreesRequired. Finite number.
clockwiseClockwiseRequired. Boolean.
Output fieldInterpretationReturned shape
directedDegreesDirected DegreesRequired. Finite number.
json
{
  "input": {
    "fromDegrees": 350,
    "toDegrees": 10,
    "clockwise": false
  },
  "output": {
    "directedDegrees": 20
  }
}

Limitations and assumptions

  • Inputs and output are degrees. Direction is an arithmetic convention, and a zero result cannot distinguish no turn from whole turns; anatomy and safe joint motion are not assessed.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
  • Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Signed zero is exported as zero.

Alternative or Complementary methods

Use the intended assessment or motion-analysis protocol with verified timing, units, and event annotations. A complete interpretation needs the relevant measurement properties and task context beyond this local calculation.

References

  1. Calculation and input contract: physiotherapy/joint-angle-wrap-direction-token — tool.io

Similar or alternative tools

  • Force Impulse Unit Factor

    For positive forceUnitFactor and timeUnitFactor return convertedImpulse=impulse*forceUnitFactor*timeUnitFactor.

  • Force Sensor Zero Residual

    Signed supplied bench force calibration against an explicit reference without therapeutic recommendations.