Skip to content

Main content

Evoked Window Anchor Gap Tool

Calculate evoked window anchor gap from explicit caller-supplied inputs.

Loading tool…

Description

Return relativeStart=windowStart-stimulusAt, relativeEnd=windowEnd-stimulusAt, and anchorGap=suppliedAnchor-stimulusAt.

Neurophysiological research records use sample coordinates, event clocks, epoch boundaries, references, signal amplitudes, and spectral bins. Timing conversions and support shares depend on rate, origin, exclusion, and boundary policies. Arithmetic on supplied values is separate from signal detection, validated acquisition, or neurological interpretation.

Return relativeStart=windowStart-stimulusAt, relativeEnd=windowEnd-stimulusAt, and anchorGap=suppliedAnchor-stimulusAt.

When to use this tool

Use Evoked Window Anchor Gap when you need this research signal, sample, event, epoch, reference, or spectral component from supplied data.

How to use the tool and how it works

  1. Enter stimulusAt, windowStart, windowEnd, suppliedAnchor. 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 relativeStart, relativeEnd, anchorGap. Use the output convention below.

Require windowEnd>=windowStart. Return relativeStart=windowStart-stimulusAt, relativeEnd=windowEnd-stimulusAt, and anchorGap=suppliedAnchor-stimulusAt.1

Input fieldMeaning and unitsAccepted input
stimulusAtStimulus AtRequired. Finite number.
windowStartWindow StartRequired. Finite number.
windowEndWindow EndRequired. Finite number.
suppliedAnchorSupplied AnchorRequired. Finite number.
Output fieldInterpretationReturned shape
relativeStartRelative StartRequired. Finite number.
relativeEndRelative EndRequired. Finite number.
anchorGapAnchor GapRequired. Finite number.
json
{
  "input": {
    "stimulusAt": 10,
    "windowStart": 9,
    "windowEnd": 13,
    "suppliedAnchor": 10.5
  },
  "output": {
    "relativeStart": -1,
    "relativeEnd": 3,
    "anchorGap": 0.5
  }
}

Limitations and assumptions

  • Times need one unit and origin. The window need not contain the stimulus or anchor, and no signal, evoked response, event identity, or clinical interpretation is evaluated.
  • 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. Numeric signed-zero results are exported as zero.

Alternative or Complementary methods

Use calibrated acquisition and the intended signal-analysis protocol for a complete assessment. Verify sample rate, coordinate origin, clock offsets, reference configuration, filtering assumptions, and observation support.

References

  1. Calculation and input contract: neurology/evoked-window-anchor-gap — tool.io

Similar or alternative tools