# Halowerk Periodic TE-Grating Coupled Fourier-Maxwell Diffraction Energy Ledger

> Halowerk Periodic TE-Grating Coupled Fourier-Maxwell Diffraction Energy Ledger is a paid API for AI agents from detect.halowerk.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-11-02).

Recovers a complete coupled periodic-grating diffraction artifact with its modal power ledger using RCWA (Rigorous Coupled-Wave Analysis) for TE-polarized gratings.

## Facts

- Endpoint: POST https://detect.halowerk.com/v1/F-TD2000-GEO-INDUSTRY-B011/periodic-te-grating-coupled-fourier-maxwell-diffraction-energy-ledger?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/halowerk-periodic-te-grating-coupled-fourier-maxwell-diffraction-7655ae7c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KpAMC6LmXwFZuLjPtU2j2

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 halowerk-periodic-te-grating-coupled-fourier-maxwell-diffraction-7655ae7c -d '<json body>'
```

Example prompt: Run a TE-grating RCWA diffraction energy ledger for a grating with period 0.5 µm, vacuum wavelength 0.633 µm, layer thickness 0.2 µm, incident angle 0.3 rad, incident refractive index 1.0, transmitted refractive index 1.5, 5 harmonics, and permittivity cosine coefficients [2.25, 0.5, 0.1] — give me the full modal power breakdown.

## When to prefer this

Choose this endpoint when you need rigorous coupled-wave analysis (RCWA) results for a one-dimensional periodic TE-polarized diffraction grating with cosine-modulated permittivity, and require the full modal power ledger across all diffraction orders. It is well-suited for photonics design validation, anti-reflection grating optimization, and electromagnetic scattering simulation at optical wavelengths. Prefer this over approximate methods (thin-film transfer matrix, scalar diffraction theory) when you need exact electromagnetic field solutions with multiple harmonics.

## Known failure modes

- Invalid harmonic_count (must be 3, 5, or 7) returns validation error
- period or vacuum_wavelength out of range [0.1, 10] returns schema error
- incident_angle outside [-0.8, 0.8] rad returns out-of-range error
- permittivity_cosine_coefficients array exceeds 4 items or values outside [-10, 10] returns validation failure
- layer_thickness below 0.001 or above 2 returns bounds error
- Missing required RCWA data fields returns 400 bad request
- Payment not attached or insufficient USDC causes 402 Payment Required

## How this service works

Recover a complete coupled periodic-grating diffraction artifact with its modal power ledger.

## Output

Returns a complete coupled periodic-grating diffraction artifact including the full modal power ledger — a structured breakdown of diffraction efficiencies (reflected and transmitted power) for each diffraction order computed via RCWA, along with the recovered field and energy distribution data across all harmonics.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "artifact": {
   "type": "object",
   "required": [
    "rcwa"
   ],
   "properties": {
    "rcwa": {
     "type": "object",
     "required": [
      "data",
      "claim"
     ],
     "properties": {
      "data": {
       "type": "object",
       "required": [
        "harmonic_count",
        "vacuum_wavelength",
        "period",
        "layer_thickness",
        "permittivity_cosine_coefficients",
        "incident_refractive_index",
        "transmitted_refractive_index",
        "incident_angle"
       ],
       "properties": {
        "period": {
         "type": "number",
         "maximum": 10,
         "minimum": 0.1
        },
        "harmonic_count": {
         "enum": [
          3,
          5,
          7
         ]
        },
        "incident_angle": {
         "type": "number",
         "maximum": 0.8,
         "minimum": -0.8
        },
        "layer_thickness": {
         "type": "number",
         "maximum": 2,
         "minimum": 0.001
        },
        "vacuum_wavelength": {
         "type": "number",
         "maximum": 10,
         "minimum": 0.1
        },
        "incident_refractive_index": {
         "type": "number",
         "maximum": 3,
         "minimum": 0.5
        },
        "transmitted_refractive_index": {
         "type": "number",
         "maximum": 3,
         "minimum": 0.5
        },
        "permittivity_cosine_coefficients": {
         "type": "array",
         "items": {
          "type": "number",
          "maximum": 10,
          "minimum": -10
         },
         "maxItems": 4,
         "minItems": 1
        }
       },
       "additionalProperties": false
      },
      "claim": {}
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/halowerk-periodic-te-grating-coupled-fourier-maxwell-diffraction-7655ae7c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from detect.halowerk.com](https://www.zero.xyz/host/detect.halowerk.com/llms.txt)
