Skip to content

Main content

Layer Coordinate Source Gap Tool

Calculate layer coordinate source gap from explicit caller-supplied inputs.

Loading tool…

Description

Compare recorded layer heights to scaled source heights.

Biofabrication bookkeeping separates nominal geometry, deposition, material bases, layer heights and verification assertions. A local surface, fill fraction or dimensional residual describes supplied values rather than demonstrating an actual construct’s shape, material quality or biological suitability.

Compare recorded layer heights to scaled source heights.

When to use this tool

Use Layer Coordinate Source Gap when checking the stated benign build geometry, measurement, material or record convention.

How to use the tool and how it works

  1. Enter layerIndices, recordedHeights, sourceHeights, unitFactor. Follow any array-alignment requirements below. 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 heightResiduals, mismatchedLayers. Use the output convention below.

Compare recorded layer heights to scaled source heights. Require aligned arrays, unique layerIndices and unitFactor > 0; heightResiduals = recorded-source*factor, mismatchedLayers counts exact nonzero residuals.1

Input fieldMeaning and unitsAccepted input
layerIndicesUnique supplied whole-number layer labels; actual ordering and source identity are not verified.Required. Array of safe integer; maximum items 256.
recordedHeightsRecorded HeightsRequired. Array of finite number; maximum items 256.
sourceHeightsSource HeightsRequired. Array of finite number; maximum items 256.
unitFactorUnit FactorRequired. Finite number; strictly above 0.
Output fieldInterpretationReturned shape
heightResidualsHeight ResidualsRequired. Array of finite number; maximum items 256.
mismatchedLayersMismatched LayersRequired. Safe integer.
json
{
  "input": {
    "layerIndices": [
      0,
      1
    ],
    "recordedHeights": [
      0,
      3
    ],
    "sourceHeights": [
      0,
      1
    ],
    "unitFactor": 2
  },
  "output": {
    "heightResiduals": [
      0,
      1
    ],
    "mismatchedLayers": 1
  }
}

Limitations and assumptions

  • Layer indexes are unique supplied whole-number labels; no tolerance, layer order or source authenticity is inferred.
  • 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 verified manufacturing records, measured geometry and an appropriate complete process/material assessment for actual construct quality, performance or safe use.

References

  1. Calculation and input contract: biofabrication/layer-coordinate-source-gap — tool.io

Similar or alternative tools