# Interferometric UV Calculator for radio astronomy. AI Agent Connect

> Interferometric UV Calculator provides the mathematical heavy lifting for radio interferometry. It converts antenna array geometry and celestial source positions into u,v,w coordinates. Your AI client uses this MCP to calculate angular resolution, track Earth-rotation paths in the Fourier plane, and summarize baseline statistics for any antenna configuration.

## Overview
- **Category:** mathematics
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_CWGLZJRMKYfiIxyXAlMu5vky0e5JAKjzqcxof1ii/ai-agent-connect
- **Tags:** interferometry, radio-astronomy, uvw-coordinates, antenna-arrays, spatial-frequency

## Description

You can stop manually calculating spatial frequency coordinates for your radio arrays. This MCP handles the geometry and physics required for radio interferometry. When you provide antenna positions and source coordinates, your agent can immediately map out u,v,w tracks or determine the theoretical resolution limits of your specific array setup. It's built to handle the math of antenna pairs, from calculating instantaneous fringe phases to summarizing the entire array's baseline distribution. Instead of running scripts in a separate environment, you give your AI client the antenna coordinates and the frequency, and it gives you the results. This is useful for modeling how an array will sample the Fourier plane as the Earth rotates.

## Tools

### calculate_angular_resolution
Determines the theoretical resolution capability of your antenna array.

### calculate_fringe_phase
Computes the instantaneous phase difference for a specific antenna pair at a given moment.

### calculate_uvw_tracks
Calculates the time-varying spatial frequency coordinates for all antenna pairs.

### get_baseline_statistics
Summarizes the geometry and distribution of the antenna array.

## Prompt Examples

**Prompt:** 
```
Calculate the angular resolution for an array with two antennas at (0,0,0) and (1000,0,0) at a frequency of 1.4e9 Hz.
```

**Response:** 
```
The maximum baseline length is 1000 meters, resulting in an angular resolution of 1.07e-7 radians at 1.4 GHz.
```

**Prompt:** 
```
What are the baseline statistics for antennas at (0,0,0), (500,0,0), and (0,500,0)?
```

**Response:** 
```
The array has 3 total pairs. The minimum baseline is 500.0m, the maximum baseline is 707.1m, and the average baseline is 577.35m.
```

**Prompt:** 
```
Find the fringe phase for a pair at (0,0,0) and (100,0,0) observing a source at RA 0, Dec 0 at time 1672531200 with frequency 1.4e9 Hz.
```

**Response:** 
```
The instantaneous phase difference is 0.0 radians with a positive sign convention.
```

## Capabilities

### Spatial Frequency Mapping
Your agent uses this to map Earth-rotation tracks in the Fourier plane.

### Array Geometry Summaries
The AI client uses this to get a quick overview of baseline distributions.

### Resolution Modeling
Your agent calculates the theoretical resolution limits for any antenna configuration.

### Phase Difference Calculation
The AI client computes instantaneous fringe phases for specific antenna pairs.

## Use Cases

### Array Design Verification
Check the theoretical resolution of a proposed antenna layout before deployment.

### Observational Planning
Model how u,v,w tracks will change over time as the Earth rotates.

### Data Analysis Support
Calculate instantaneous fringe phases for specific antenna pairs during observation.

### Geometry Auditing
Get a summary of minimum, maximum, and average baselines for an existing array.

## Benefits

- Converts antenna positions to u,v,w coordinates without manual scripting.
- Provides immediate feedback on array resolution limits.
- Automates the calculation of time-varying spatial frequency tracks.
- Summarizes complex antenna geometries into usable statistics.

## How It Works

Connect your client to Vinkius and start running calculations immediately.

1. Connect your MCP-compatible client to the Vinkius hosted MCP.
2. Provide antenna coordinates and frequency to your AI agent.
3. Your agent invokes the specific tool needed for your calculation.
4. Receive precise mathematical results directly in your chat interface.

## Frequently Asked Questions

**What can this MCP calculate?**
It calculates u,v,w tracks, angular resolution, fringe phases, and baseline statistics for radio interferometry.

**Do I need to host the MCP myself?**
No, Vinkius hosts and manages the MCP for you. You connect your client.

**Which AI clients can use this?**
Any MCP-compatible client like Claude, Cursor, Windsurf, or VS Code.

**Can I use this for antenna array geometry?**
Yes, the get_baseline_statistics tool summarizes the geometry of your antenna array.

**Does it handle time-varying coordinates?**
Yes, the calculate_uvw_tracks tool calculates time-varying spatial frequency coordinates.

**What can I calculate with this server?**
You can calculate time-varying u,v,w tracks using `calculate_uvw_tracks`, determine array resolution with `calculate_angular_resolution`, compute phase differences via `calculate_fringe_phase`, and get array geometry summaries with `get_baseline_statistics`.

**How do I provide antenna positions?**
Antenna positions should be provided as a JSON string array of objects, where each object contains x, y, and z coordinates.

**Does this support Earth rotation modeling?**
Yes, the `calculate_uvw_tracks` tool specifically accounts for Earth's rotation to provide time-varying spatial frequency coordinates.
