Description
Return (point - lower)/(upper - lower) on each axis.
A point's normalized cell coordinates express its position within each axis interval. Fractions require positive spans and provide weights only after an interpolation rule is chosen.
Return (point - lower)/(upper - lower) on each axis.
When to use this tool
Use Interpolation: Interpolation Grid Cell Fractions when you need unit-cell fractions for aligned coordinates.
How to use the tool and how it works
- Enter point, lower, upper. Keep parallel arrays aligned. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read result. Expand result to inspect the returned fields.
Require aligned nonempty point, lower, and upper arrays, with every positive-width interval containing its point coordinate. Return (point - lower)/(upper - lower) on each axis.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| point | Point | Required. Array of finite number. Implementation limit: 128 items. |
| lower | Lower | Required. Array of finite number. Implementation limit: 128 items. |
| upper | Upper | Required. Array of finite number. Implementation limit: 128 items. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| result | Result | Required. Object. |
| result.fractions | Fractions | Calculated result member: array. |
{
"input": {
"point": [
1,
3
],
"lower": [
0,
1
],
"upper": [
2,
5
]
},
"output": {
"result": {
"fractions": [
0.5,
0.5
]
}
}
} Limitations and assumptions
- This yields unit-cell fractions without corner values or multidimensional interpolation; outside points are rejected.
- Outputs are nested inside result. 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
Validate the full grid and corner-value layout before using normalized fractions in multidimensional interpolation.
References
Similar or alternative tools
- Bilinear Corner Node Sensitivity
Validate cornerX and cornerY as zero or one.
- Affine Knot Parameter
Require left different from right and return (knot - left)/(right - left) as parameter.