Skip to content
HALOWERK

Economic Statistics

metrology fixedslope weighted offset

Return a weighted calibration offset for a supplied fixed slope and per-pair x/y uncertainties and covariance.

POST https://stat.halowerk.com/v1/metrology-fixedslope-weighted-offset

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
slopenumberYes
pairsarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "slope": {
      "type": "number",
      "minimum": -100,
      "maximum": 100
    },
    "pairs": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "x": {
            "type": "number",
            "minimum": -1000000,
            "maximum": 1000000
          },
          "y": {
            "type": "number",
            "minimum": -1000000,
            "maximum": 1000000
          },
          "ux": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000
          },
          "uy": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000
          },
          "covariance_xy": {
            "type": "number",
            "minimum": -1000000000000,
            "maximum": 1000000000000
          }
        },
        "required": [
          "x",
          "y",
          "ux",
          "uy",
          "covariance_xy"
        ],
        "additionalProperties": false
      },
      "maxItems": 100,
      "minItems": 1
    }
  },
  "required": [
    "slope",
    "pairs"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "slope": 2,
  "pairs": [
    {
      "x": 1,
      "y": 3,
      "ux": 0,
      "uy": 1,
      "covariance_xy": 0
    },
    {
      "x": 2,
      "y": 5,
      "ux": 0,
      "uy": 1,
      "covariance_xy": 0
    }
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-19 UTC.

More endpoints in this hub

All endpoints in this hub โ†’