astropy

Processes astronomy data with coordinate transforms, FITS I/O, time conversions, cosmology calculations.

94|11|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/swaruplab/operon --skill astropy-swaruplab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: astropy
Source: https://github.com/swaruplab/operon/tree/main/src-tauri/protocols/astropy
Command: npx skills add https://github.com/swaruplab/operon --skill astropy-swaruplab

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Comprehensive Python library for astronomy data analysis, providing tools for coordinate transformations, FITS file handling, time standards, WCS, and cosmology.

Core Features & Use Cases

  • Coordinate transformations: convert between ICRS, FK5, Galactic, AltAz, and more via SkyCoord.
  • FITS I/O and table operations: read/write FITS files, manipulate tables, and build catalogs.
  • Time and cosmology: handle time scales, perform lookups, and compute distances and ages with Planck18 and other cosmologies.
  • Data organization: manage units, metadata, and 2D/3D positional data in tables for research workflows.

Quick Start

Compute the luminosity distance to z=1 using Planck18 cosmology and print the result.

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 between ICRS, FK5, and Galactic systems in Python?

Transform celestial coordinates between ICRS, FK5, and Galactic systems using the SkyCoord interface. This enables direct conversion of astronomical coordinates for observational research and data mapping.

What is the best way to read and process FITS files for astronomical data analysis?

Read and process FITS files for astronomical data analysis using built-in I/O operations. This handles reading, writing, and manipulating FITS data tables to build comprehensive astronomical catalogs.

How do I compute luminosity distance to redshift z=1 using Planck18 cosmology?

Compute luminosity distance to redshift z=1 using Planck18 cosmology by applying the integrated cosmology module. This calculates accurate distances and ages for high-redshift research projects.

Can I handle time scale conversions and WCS transformations for astronomical imaging?

Handle time scale conversions and WCS transformations for astronomical imaging using the integrated time and WCS modules. This manages time standards and world coordinate systems for observational data.

Does this astronomy data analysis toolkit support 2D and 3D positional data in tables?

This astronomy data analysis toolkit supports 2D and 3D positional data in tables. It manages units, metadata, and positional information to organize research workflows effectively.