astropy-astronomy

Perform unit-aware astronomical calculations, coordinate transformations, and FITS file operations.

298|27|Updated Feb 18, 2026
One-click install
npx skills add https://github.com/jaechang-hits/SciAgent-Skills --skill astropy-astronomy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: astropy-astronomy
Source: https://github.com/jaechang-hits/SciAgent-Skills/tree/main/skills/scientific-computing/astropy-astronomy
Command: npx skills add https://github.com/jaechang-hits/SciAgent-Skills --skill astropy-astronomy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies complex astronomical calculations, coordinate transformations, and data handling, making advanced astrophysics accessible to researchers and developers.

Core Features & Use Cases

  • Unit-Aware Calculations: Perform calculations with physical units (e.g., parsecs, light-years) ensuring dimensional correctness.
  • Celestial Coordinate Transformations: Convert between various sky coordinate systems (ICRS, Galactic, AltAz) for precise object positioning.
  • FITS File I/O: Read, write, and manipulate astronomical data files in the standard FITS format.
  • Cosmological Calculations: Compute distances, ages, and volumes based on standard cosmological models.
  • Time Handling: Manage precise astronomical time scales (UTC, TAI, TDB) and formats.
  • Use Case: Analyze astronomical images by reading FITS files, transforming pixel coordinates to sky coordinates, and calculating the physical size of celestial objects at a given redshift.

Quick Start

Use the astropy-astronomy skill to convert 100 parsecs to kilometers.

Frequently Asked Questions about astropy-astronomy

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

FAQPage Schema
How do I convert pixel coordinates to sky coordinates in a FITS image?

To convert pixel coordinates to sky coordinates in a FITS image, you use WCS mapping. This skill handles FITS file I/O and WCS transformations to translate pixel data into precise astronomical sky coordinate systems.

How do I convert celestial coordinates between ICRS, Galactic, and AltAz frames?

Celestial coordinate transformations between ICRS, Galactic, and AltAz frames are performed using built-in frame conversion functions. This skill applies these conversions to ensure accurate sky positioning across different astronomical coordinate systems.

Can I perform unit-aware calculations with physical units like parsecs and light-years?

Yes, you can perform unit-aware calculations using physical units like parsecs and light-years. This skill supports dimensional analysis to ensure all astrophysical calculations maintain strict physical unit correctness.

How do I compute cosmological distances, ages, and volumes for a given redshift?

Cosmological distances, ages, and volumes are computed using standard cosmological models. This skill applies these models to calculate the physical parameters of celestial objects based on their redshift values.

What is the best way to manage precise astronomical time scales like UTC, TAI, and TDB?

The best way to manage precise astronomical time scales like UTC, TAI, and TDB is through dedicated time handling functions. This skill processes exact time formats and scales required for accurate astrophysical data analysis.

Does this skill require any external dependencies to handle astronomical data?

No external dependencies are required to handle astronomical data. This skill operates independently to provide core Python libraries for astrophysics, coordinate transformations, and FITS file manipulations.