# Sampling and Aliasing Check

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

Checks a declared sample rate and up to 16 tone frequencies against the Nyquist inequality to determine whether aliasing will occur, and computes folded (aliased) frequencies exactly.

## Facts

- Endpoint: POST https://www.mahastrategies.com/api/v1/compute/signals/aliasing-check?utm_source=zero.xyz
- Price: $0.010026/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sampling-and-aliasing-check-19923b27
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_n_qlhRAJL1QKSrS-I4ZN0

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 sampling-and-aliasing-check-19923b27 -d '<json body>'
```

Example prompt: Check whether a sample rate of 44100 Hz satisfies Nyquist for a bandlimited signal with highest band at 20000 Hz, and tell me if any of these tones will alias and what their folded frequencies are: 5000 Hz, 18000 Hz, and 25000 Hz — treat this as synthetic public data under the uniform-bandlimited-no-jitter assumption.

## When to prefer this

Use this endpoint when you need a fast, mathematically exact Nyquist check for uniform bandlimited sampling with no jitter — ideal for validating ADC configurations, sensor setups, or signal processing pipelines before deployment. Prefer this over manual computation when checking multiple tones simultaneously (up to 16) or when you need folded aliased frequencies computed exactly. Note: this endpoint does not verify anti-aliasing filters, actual hardware, or real signal bandwidth — use it only for declared/theoretical parameter validation.

## Known failure modes

- Invalid or non-numeric sampleRateHz or highestBandHz causes a 400 error
- More than 16 tones submitted exceeds the array limit and is rejected
- Unsupported dataClass or assumption enum values return validation errors
- Missing required fields result in a schema validation error
- Results are retained for only 24 hours; expired result retrieval fails

## 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. New modular adapter: retained result recovery for 24 hours, minimal receipt metadata for 90 days. Existing live route unchanged.

## Output

Returns whether the declared sample rate strictly satisfies the Nyquist inequality (sampleRateHz > 2 × highestBandHz), notes if equality holds as a separate condition, and for each submitted tone reports whether it aliases and computes its exact folded frequency if it does.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "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
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sampling-and-aliasing-check-19923b27/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)
