astropy

Perform astronomical calculations and FITS file manipulation with Astropy.

8|Updated Jan 13, 2026
One-click install
npx skills add https://github.com/hxk622/TokenDance --skill astropy-hxk622
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: astropy
Source: https://github.com/hxk622/TokenDance/tree/main/backend/app/skills/builtin/scientific/physics/astropy
Command: npx skills add https://github.com/hxk622/TokenDance --skill astropy-hxk622

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill simplifies complex astronomical calculations and data manipulation, making it easier to work with celestial coordinates, units, and cosmological models.

Core Features & Use Cases

  • Coordinate Transformations: Convert between celestial reference frames (e.g., ICRS, Galactic).
  • Unit Conversions: Handle physical units and quantities accurately (e.g., parsecs to kilometers).
  • Cosmological Calculations: Perform distance, age, and other cosmological computations.
  • FITS File Handling: Read, write, and manipulate astronomical data files.
  • Use Case: Calculate the luminosity distance to a galaxy at redshift z=1.5 and convert its coordinates from ICRS to the Galactic frame.

Quick Start

Use the astropy skill to convert the coordinate 10.5 degrees RA, 41.2 degrees Dec from ICRS to the Galactic frame.

Frequently Asked Questions about astropy

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

FAQPage Schema
How do I convert celestial coordinates from ICRS to the Galactic frame?

Celestial coordinate transformations convert ICRS right ascension and declination values into the Galactic coordinate frame by applying astronomical reference system adjustments for accurate mapping.

How do I calculate the luminosity distance to a galaxy at a specific redshift?

Cosmological distance calculations determine the luminosity distance to a galaxy at a given redshift by applying standard cosmological models and mathematical computations to the input values.

Can I read and manipulate FITS files for astronomical data analysis?

FITS file handling allows you to read, write, and manipulate astronomical data files directly, enabling structured extraction and modification of observational datasets for analysis.

What is the best way to handle physical unit conversions like parsecs to kilometers?

Physical unit conversions translate quantities like parsecs to kilometers by applying standardized astrophysical unit factors, ensuring mathematical consistency across scientific measurements and calculations.

Does this astronomical data analysis approach require external dependencies?

This astronomical data analysis approach requires no external dependencies, using built-in scripts and references to execute coordinate transformations, cosmological computations, and FITS file manipulations independently.