Line Spacing Even Interval Checker

Audit actual ordered one-axis dance line gaps against caller desired interval/tolerance; not inferred uniform placement, geodesy or inter-dancer clearance safety.

Description

Even line spacing is checked from ordered one-axis positions.

Even line spacing is checked from ordered one-axis positions. Signed errors show compressed and enlarged gaps.1

Enter at least two strictly increasing finite positions, positive desired meters and nonnegative gap tolerance. Return gaps/errors and zero-based indexes strictly outside tolerance.

When to use Line Spacing Even Interval Checker

Use Line Spacing Even Interval Checker when you need to evaluate the supplied records under the calculation and evidence rules below. No inferred placement, geodesy or inter-dancer safety clearance is supplied.

Prepare the annotated dance, timing, rehearsal or inventory records requested. Supply caller rules, evidence flags and local reference values; distinguish beats, bars, counts and seconds.

How to use Line Spacing Even Interval Checker and understand its results

  1. Prepare the annotated dance, timing, rehearsal or inventory records requested. Supply caller rules, evidence flags and local reference values; distinguish beats, bars, counts and seconds.
  2. Enter observedLinePositionsM, callerDesiredSpacingM, callerGapToleranceM using the field table and calculation rules, then run the tool.
  3. Read observedAdjacentGapsM, signedAdjacentSpacingErrorsM, gapsOutsideCallerSpacingTolerance. The explanation below defines the units, signs, ordering and any flags or placeholder values.
  4. If the tool reports an input issue, correct the values and run it again. Apply the stated assumptions when interpreting a successfully returned result.
Input fieldMeaningValue type; see rules belowRequirement
observedLinePositionsMObserved line positions mlist of numberRequired
callerDesiredSpacingMCaller desired spacing mnumberRequired
callerGapToleranceMCaller gap tolerance mnumberRequired

Enter at least two strictly increasing finite positions, positive desired meters and nonnegative gap tolerance. Return gaps/errors and zero-based indexes strictly outside tolerance.

gap=nextPosition−position; error=gap−desiredSpacing

Units, indexing, boundary conditions and exceptional cases are defined in the calculation rules above.

Output fieldMeaningValue type
observedAdjacentGapsMObserved adjacent gaps mlist of number
signedAdjacentSpacingErrorsMSigned adjacent spacing errors mlist of number
gapsOutsideCallerSpacingToleranceGaps outside caller spacing tolerancelist of number
json
{
  "input": {
    "observedLinePositionsM": [
      0,
      1,
      2.2,
      3
    ],
    "callerDesiredSpacingM": 1,
    "callerGapToleranceM": 0.1
  },
  "output": {
    "observedAdjacentGapsM": [
      1,
      1.2000000000000002,
      0.7999999999999998
    ],
    "signedAdjacentSpacingErrorsM": [
      0,
      0.20000000000000018,
      -0.20000000000000018
    ],
    "gapsOutsideCallerSpacingTolerance": [
      1,
      2
    ]
  }
}

Limitations and assumptions

No inferred placement, geodesy or inter-dancer safety clearance is supplied.

Numeric inputs, where present, must be finite. Follow the calculation-specific rules for overflow, underflow and exceptional cases. Numeric lists are limited to 10,000 entries; string lists to 128 strings of at most 128 characters each. The rules above may impose smaller limits. Missing required fields, extra fields, wrong value types and violations of the calculation rules are input errors.

Alternative or Complementary methods

Use Pathway Straight Curved Zigzag Pattern Classifier: Sampled path turns provide a caller-defined straight/curved/zigzag screen. Classification depends on sampling and tolerance. For a complementary task, use Formation Swap Minimum Position Moves Solver: A fixed-identity formation permutation has a minimum unrestricted pair-swap count. It does not minimize physical travel.

References

  1. Line Spacing Even Interval Checker — tool.io

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies