Pre-Imaging QA Skill

Validate phaseshifting and UV coverage in radio astronomy Measurement Sets.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/dsa110/dsa110-contimg --skill pre-imaging-qa-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Pre-Imaging QA Skill
Source: https://github.com/dsa110/dsa110-contimg/tree/main/backend/.github/skills/pre-imaging-qa
Command: npx skills add https://github.com/dsa110/dsa110-contimg --skill pre-imaging-qa-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill ensures that calibrated astronomical data is of sufficient quality and has proper UV coverage before expensive imaging processes are run, preventing wasted computational resources and ensuring reliable scientific results.

Core Features & Use Cases

  • Phaseshift Validation: Crucially verifies that Measurement Sets (MS) are correctly phaseshifted to the median meridian, a critical step for accurate imaging.
  • UV Coverage Assessment: Analyzes UV coverage metrics (score, baseline count, max/min baseline) against defined thresholds.
  • Plot Generation: Creates visualizations of UV coverage and density for manual inspection.
  • Use Case: Before initiating a long imaging run for a radio astronomy dataset, use this skill to automatically check if the data has been correctly phaseshifted and if the UV coverage is adequate, flagging any potential issues early.

Quick Start

Run the pre-imaging QA check on the calibrated Measurement Set located at /data/calibrated.ms.

Frequently Asked Questions about Pre-Imaging QA Skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate UV coverage and phaseshift accuracy before radio astronomy imaging?

To validate UV coverage and phaseshift accuracy before radio astronomy imaging, run a pre-imaging quality assurance check on your calibrated Measurement Set to evaluate baseline metrics and verify alignment to the median meridian.

Why do I need to check phaseshifting to the median meridian in a Measurement Set?

Checking phaseshifting to the median meridian in a Measurement Set is required because correct phaseshift validation ensures accurate imaging and prevents directional errors during the subsequent radio astronomy synthesis processes.

How do I assess UV coverage metrics like baseline count for radio astronomy data?

To assess UV coverage metrics for radio astronomy data, use a validation script that analyzes the Measurement Set to calculate the score, baseline count, and maximum or minimum baseline values against defined quality thresholds.

Does pre-imaging quality assurance generate diagnostic plots for UV coverage density?

Pre-imaging quality assurance does generate diagnostic plots for UV coverage density, providing visualizations that allow for manual inspection of baseline distribution and the identification of potential anomalies before imaging.

What are the limitations of running pre-imaging QA on radio astronomy Measurement Sets?

The limitation of running pre-imaging QA on radio astronomy Measurement Sets is that it only evaluates phaseshift and UV coverage metrics, meaning it cannot correct bad data or replace the actual imaging and deconvolution processes.