astropy

Analyze astronomical data with coordinates, units, FITS I/O, and WCS.

1|Updated Mar 4, 2026
One-click install
npx skills add https://github.com/Hung-3008/agusta --skill astropy-hung-3008
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: astropy
Source: https://github.com/Hung-3008/agusta/tree/main/.agents/skills/astropy
Command: npx skills add https://github.com/Hung-3008/agusta --skill astropy-hung-3008

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Astropy provides a unified, Python-based toolkit for performing astronomical data analysis, transformations, and I/O, reducing the need to cobble together multiple libraries.

Core Features & Use Cases

  • Coordinate transformations across ICRS, Galactic, FK5, AltAz, and more for accurate celestial mapping.
  • Unified units and quantities with robust conversions, equivalencies, and arithmetic to ensure dimensional consistency.
  • FITS file handling and table operations for reading, writing, and manipulating astronomical data, catalogs, and tables.
  • Time handling and cosmology utilities for precise time scales, distances, lookback times, and cosmological calculations.
  • World Coordinate System (WCS) support and simple 3D cartesian representations for pixel-to-world mappings.
  • Access to extensive reference documentation and tutorials to accelerate learning and deployment.

Quick Start

Import core subpackages and perform a minimal transform to verify setup.

Frequently Asked Questions about astropy

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

FAQPage Schema
How do I transform astronomical coordinates across ICRS, Galactic, and AltAz systems?

Transform astronomical coordinates by converting sky positions across ICRS, Galactic, FK5, and AltAz frames for accurate celestial mapping within a unified Python environment.

Can I read and write FITS files and manipulate astronomical tables in Python?

Yes, you can read and write FITS files and manipulate astronomical tables in Python using Astropy's built-in I/O and table operations for catalogs and data structures.

What is the best way to handle astronomical time scales and cosmological calculations?

Handle time scales and cosmological calculations using Astropy, which provides precise time handling and cosmology utilities for calculating lookback times and distances within a single Python toolkit.

Does Astropy support World Coordinate System (WCS) pixel-to-world mappings?

Astropy supports World Coordinate System (WCS) transformations for pixel-to-world mappings, enabling comprehensive astronomical image analysis and coordinate conversions directly in Python.

Do I need a specific Python environment to use Astropy for astronomical data workflows?

You need a Python environment with the Astropy library installed and access to the provided reference materials to perform comprehensive astronomical data analysis and transformations.