Description
Return distance to a closed sampling window and signed start offset.
Biomonitoring records connect specimens, analytical methods, observation durations and exposure windows. Literal matches and coverage shares describe supplied records, while specimen stability, actual exposure and the suitability of a health interpretation require independent measurement and professional assessment.
Return distance to a closed sampling window and signed start offset.
When to use this tool
Use Sample Time Exposure Window Gap when checking the stated specimen record, timing or monitoring-support convention.
How to use the tool and how it works
- Enter sampleTime, windowStart, windowEnd. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read distanceToWindow, signedFromStart, inside. Inspect inside before interpreting the associated values.
Return distance to a closed sampling window and signed start offset. Require windowStart <= windowEnd; inside includes both ends, distance is zero inside and the nearest boundary gap otherwise.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| sampleTime | Sample Time | Required. Finite number. |
| windowStart | Window Start | Required. Finite number. |
| windowEnd | Window End | Required. Finite number. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| distanceToWindow | Distance To Window | Required. Finite number. |
| signedFromStart | Signed From Start | Required. Finite number. |
| inside | Inside | Required. Boolean. |
{
"input": {
"sampleTime": 12,
"windowStart": 0,
"windowEnd": 10
},
"output": {
"distanceToWindow": 2,
"signedFromStart": 12,
"inside": false
}
} Limitations and assumptions
- The window is supplied rather than validated for an exposure or health interpretation.
- 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
Inspect verified collection and laboratory records and use an appropriate exposure/measurement analysis; seek qualified professional interpretation for health-related decisions.
References
Similar or alternative tools
- Sample Processing Delay Gap
Return processing delay and remaining supplied allowance.
- Collection Window Time Share Tool
Calculate collection window time share from explicit caller-supplied inputs.