astropy

Perform astronomical data analysis with units, coordinates, FITS I/O, and cosmology.

75|7|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/jiaxiaojunQAQ/SkillJect --skill astropy-jiaxiaojunqaq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: astropy
Source: https://github.com/jiaxiaojunQAQ/SkillJect/tree/main/data/skills_sample/astropy
Command: npx skills add https://github.com/jiaxiaojunQAQ/SkillJect --skill astropy-jiaxiaojunqaq

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Astropy provides a unified, Python-based toolkit for performing standard astronomical data analysis, including units, coordinates, FITS I/O, time systems, and cosmology, reducing the need for ad-hoc scripts and ensuring consistent results across projects.

Core Features & Use Cases

  • Unit handling and quantity conversions for physical measurements
  • Coordinate systems and transformations across ICRS, FK5, Galactic, AltAz, and more
  • FITS file I/O and table operations for catalogs, images, and time-series
  • Time handling and precision timing across scales and formats
  • Cosmology calculations and reference models for distances and ages

Quick Start

Install astropy and run a quick example to convert units and transform a coordinate.

Frequently Asked Questions about astropy

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

FAQPage Schema
How do I convert astronomical coordinates between ICRS and Galactic systems in Python?

Astronomical coordinate transformations between ICRS, FK5, Galactic, and AltAz systems are handled directly through Python APIs. You instantiate coordinate objects with specific frame attributes and transform them natively to ensure consistent, reproducible results across research projects.

What is the best way to read FITS files and catalog tables for time-series analysis?

Reading FITS files and catalog tables for time-series analysis requires built-in FITS I/O and table operations. This approach processes images, catalogs, and time-series data directly within Python, reducing reliance on ad-hoc scripts for multi-facility data processing.

Can I use Python for cosmology calculations and physical unit conversions?

Python supports cosmology calculations and physical unit conversions natively. It provides reference models for calculating distances and ages, alongside core APIs for handling physical measurements as quantities to maintain dimensional consistency in research workflows.

How do I handle precision time scales and formats across different observatories?

Handling precision time scales across observatories involves utilizing comprehensive time handling APIs. These tools manage time scales and formats accurately, supporting multi-facility data processing by ensuring precise timing consistency in time-series analysis.

Does this astronomy toolkit work without external dependencies for reproducible workflows?

The astronomy toolkit operates without external dependencies to deliver reproducible workflows. It provides a unified Python-based environment for units, coordinates, FITS I/O, time systems, and cosmology, ensuring consistent results without requiring additional libraries.

Related Skills