# Nyquist Sampling Aliasing Check

> Nyquist Sampling Aliasing Check is a paid API for AI agents from www.mahastrategies.com, paid per call via x402, $0.0065/call, status unknown (last checked 2026-10-16).

Checks whether a declared sample rate satisfies the Nyquist inequality for a given bandwidth and computes folded alias frequencies for up to 16 tones.

## Facts

- Endpoint: POST https://www.mahastrategies.com/api/v1/micro/sampling-aliasing-check?utm_source=zero.xyz
- Price: $0.0065/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nyquist-sampling-aliasing-check-04aaea18
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LZ3opi5oJ5cBVESUqK3Qi

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability nyquist-sampling-aliasing-check-04aaea18 -d '<json body>'
```

Example prompt: Check whether a 44100 Hz sample rate satisfies the Nyquist criterion for a 20000 Hz bandwidth, and compute the folded alias frequencies for tones at 15000, 22000, and 30000 Hz — treat the data as synthetic with uniform bandlimited no-jitter assumptions.

## When to prefer this

Use this endpoint when you need a deterministic, auditable Nyquist compliance check with exact aliased frequency computation for a specific set of tones. It is ideal when you need strict vs. equality boundary reporting and a cryptographic receipt for auditability. It does not verify hardware filters or real signal bandwidth — use it for theoretical/design validation only.

## Known failure modes

- Missing required fields (sampleRateHz, highestBandHz, tonesHz, dataClass, assumption) returns validation error
- More than 16 tones submitted exceeds maxItems limit
- Invalid dataClass value (not 'public' or 'synthetic') causes enum rejection
- Assumption value other than 'uniform-bandlimited-no-jitter' is rejected
- Malformed numeric strings for sampleRateHz or highestBandHz (exceeding 13 chars) cause errors
- Payment failure via x402 protocol prevents execution

## How this service works

Check a declared bandwidth and up to 16 tones against the strict Nyquist inequality, with equality reported separately. Computes folded tone frequencies exactly. Assumes uniform sampling, bandlimited input and no jitter; does not verify filters, acquisition hardware or real signal bandwidth.

## Output

Returns a structured result containing whether the sample rate strictly satisfies the Nyquist inequality (and whether equality holds), the exact folded (alias) frequencies for each submitted tone, boundary values, an offer ID, a versioned receipt, an input digest, and an amount confirmation. All computations assume uniform sampling, bandlimited input, and no jitter.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "dataClass",
      "sampleRateHz",
      "highestBandHz",
      "tonesHz",
      "assumption"
     ],
     "properties": {
      "tonesHz": {
       "type": "array",
       "maxItems": 16,
       "minItems": 0
      },
      "dataClass": {
       "enum": [
        "public",
        "synthetic"
       ],
       "type": "string"
      },
      "assumption": {
       "enum": [
        "uniform-bandlimited-no-jitter"
       ],
       "type": "string"
      },
      "sampleRateHz": {
       "type": "string",
       "maxLength": 13
      },
      "highestBandHz": {
       "type": "string",
       "maxLength": 13
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "version",
      "offerId",
      "amountBaseUnits",
      "inputDigest",
      "result",
      "boundaries",
      "receiptDigest"
     ],
     "properties": {
      "result": {
       "type": "object"
      },
      "offerId": {
       "enum": [
        "sampling-aliasing-check"
       ],
       "type": "string"
      },
      "version": {
       "enum": [
        "maha-microproducts/0.1"
       ],
       "type": "string"
      },
      "boundaries": {
       "type": "array",
       "maxItems": 128,
       "minItems": 0
      },
      "inputDigest": {
       "type": "string",
       "maxLength": 71
      },
      "receiptDigest": {
       "type": "string",
       "maxLength": 71
      },
      "amountBaseUnits": {
       "enum": [
        "6500"
       ],
       "type": "string"
      }
     },
     "additionalProperties": false
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nyquist-sampling-aliasing-check-04aaea18/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.mahastrategies.com](https://www.zero.xyz/host/www.mahastrategies.com/llms.txt)
