Back to Skills

astropy

Comprehensive Python library for astronomy and astrophysics. This skill should be used when working with astronomical data including celestial coordinates, physical units, FITS files, cosmological calculations, time systems, tables, world coordinate systems (WCS), and astronomical data analysis. Use when tasks involve coordinate transformations, unit conversions, FITS file manipulation, cosmological distance calculations, time scale conversions, or astronomical data processing.

17,798stars1,609forksUpdated 1/21/2026

Security Assessment

Safe(100/100)
Security Score100/100

About astropy

Astropy is a comprehensive Python library designed for astronomy and astrophysics, facilitating the handling and analysis of astronomical data. It addresses the complexities involved in working with various data types and formats, including celestial coordinates, physical units, FITS files, and cosmological calculations. By providing a unified interface for these tasks, Astropy streamlines the workflow for researchers and practitioners in the field of astronomy, making data processing more efficient and accessible.

FAQ

What types of astronomical data can I work with using Astropy?

Astropy allows you to work with celestial coordinates, physical units, FITS files, cosmological calculations, and time systems.

Is Astropy compatible with other Python libraries?

Yes, Astropy is compatible with many other scientific Python libraries, enhancing its functionality when combined with libraries like NumPy, SciPy, and Matplotlib.

What are the system requirements for using Astropy?

Astropy requires Python and can be installed using package managers like pip or conda, but specific requirements may depend on the additional packages you choose to use.

Can I perform coordinate transformations with Astropy?

Yes, Astropy provides functions for converting between various celestial coordinate systems, such as ICRS, Galactic, and AltAz.

Does Astropy support reading and writing FITS files?

Yes, Astropy includes capabilities for reading, writing, and manipulating FITS files, which are commonly used in astronomy.

Install astropy

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill