# Weighted Grid Phase Gradient Poisson Least-Squares Reconstruction

> Weighted Grid Phase Gradient Poisson Least-Squares Reconstruction 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-17).

Reconstructs the least-squares scalar potential from supplied wrapped phase gradients using weighted Poisson integration on a grid.

## Facts

- Endpoint: POST https://detect.halowerk.com/v1/F-TD2000-GEO-INDUSTRY-B006/weighted-grid-phase-gradient-poisson-least-squares-reconstruction?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/weighted-grid-phase-gradient-poisson-least-squares-reconstruction-1e79b458
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IzQUCULdd1Codacg4_cwS

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 weighted-grid-phase-gradient-poisson-least-squares-reconstruction-1e79b458 -d '<json body>'
```

Example prompt: Reconstruct the unwrapped scalar potential from this 6x5 wrapped phase grid — values are all between -π and π — using horizontal and vertical reliability weights I've computed, anchored to 0.0 at the origin.

## When to prefer this

Use this endpoint when you need a numerically stable, weighted least-squares Poisson solution to the phase unwrapping problem on small grids (up to 8x8), particularly when reliability or coherence weights are available to down-weight noisy gradient measurements. Prefer this over simple path-following unwrappers when the phase field is noisy or contains discontinuities, and when a globally optimal (least-squares) reconstruction is required. Best suited for interferometric, radar (InSAR), optical, or MRI phase data at moderate grid sizes.

## Known failure modes

- Wrapped phase values outside [-π, π] will fail schema validation
- Grid dimension mismatches between wrapped_phase and weight arrays cause rejection
- anchor_value outside [-10000, 10000] range will be rejected
- Weights at or below 0.000001 minimum boundary may cause numerical instability
- Grids larger than 8x8 are not accepted — schema enforces max 8 rows/columns
- Missing required fields (phasePoisson, data, claim) result in validation errors

## How this service works

Reconstruct the least-squares scalar potential of supplied wrapped phase gradients.

## Output

Returns a reconstructed scalar potential (unwrapped phase) as a 2D grid of real-valued numbers, representing the least-squares best-fit integration of the supplied wrapped phase gradients weighted by the provided horizontal and vertical reliability maps.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "artifact": {
   "type": "object",
   "required": [
    "phasePoisson"
   ],
   "properties": {
    "phasePoisson": {
     "type": "object",
     "required": [
      "data",
      "claim"
     ],
     "properties": {
      "data": {
       "type": "object",
       "required": [
        "wrapped_phase",
        "horizontal_weights",
        "vertical_weights",
        "anchor_value"
       ],
       "properties": {
        "anchor_value": {
         "type": "number",
         "maximum": 10000,
         "minimum": -10000
        },
        "wrapped_phase": {
         "type": "array",
         "items": {
          "type": "array",
          "items": {
           "type": "number",
           "maximum": 3.141592653589793,
           "minimum": -3.141592653589793
          },
          "maxItems": 8,
          "minItems": 2
         },
         "maxItems": 8,
         "minItems": 2
        },
        "vertical_weights": {
         "type": "array",
         "items": {
          "type": "array",
          "items": {
           "type": "number",
           "maximum": 10000,
           "minimum": 0.000001
          },
          "maxItems": 8,
          "minItems": 2
         },
         "maxItems": 7,
         "minItems": 1
        },
        "horizontal_weights": {
         "type": "array",
         "items": {
          "type": "array",
          "items": {
           "type": "number",
           "maximum": 10000,
           "minimum": 0.000001
          },
          "maxItems": 7,
          "minItems": 1
         },
         "maxItems": 8,
         "minItems": 2
        }
       },
       "additionalProperties": false
      },
      "claim": {}
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/weighted-grid-phase-gradient-poisson-least-squares-reconstruction-1e79b458/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)
