Skip to content
HALOWERK

IoT and Devices

linecode pam gray label decisions

Return nearest equally spaced PAM symbols, reflected-Gray labels and decision margins for supplied amplitudes.

POST https://iot.halowerk.com/v1/linecode-pam-gray-label-decisions

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
levelsSee schemaYes
amplitudesarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "levels": {
      "enum": [
        2,
        4,
        8,
        16
      ]
    },
    "amplitudes": {
      "type": "array",
      "items": {
        "type": "number",
        "minimum": -100,
        "maximum": 100
      },
      "maxItems": 200,
      "minItems": 1
    }
  },
  "required": [
    "levels",
    "amplitudes"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "levels": 4,
  "amplitudes": [
    -3,
    -1,
    1,
    3,
    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 โ†’