Agent skill · Data & Analytics

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.

LeonChaoXgithub.com/LeonChaoXGitHub ↗
claude-codeMIT
Install
npx skills add LeonChaoX/qinyan-academic-skills --skill astropy --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 8
SKILL.md size: 11 KB
Bundled scripts: none
Path: skills/10-材料科学与物理计算/astropy/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 759
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Astropy ## Overview Astropy is the core Python package for astronomy, providing essential functionality for astronomical research and data analysis. Use astropy for coordinate transformations, unit and quantity calculations, FITS file operations, cosmological calculations, precise time handling, tabular data manipulation, and astronomical image processing. ## When to Use This Skill Use astropy when tasks involve: - Converting between celestial coordinate systems (ICRS, Galactic, FK5, AltAz, etc.) - Working with physical units and quantities (converting Jy to mJy, parsecs to km, etc.) - Reading, writing, or manipulating FITS files (images or tables) - Cosmological calculations (luminosity distance, lookback time, Hubble parameter) - Precise time handling with different time scales (UTC, TAI, TT, TDB) and formats (JD, MJD, ISO) - Table operations (reading catalogs, cross-matching, filtering, joining) - WCS transformations between pixel and world coordinates - Astronomical constants and calculations ## Quick Start ```python import astropy.units as u from astropy.coordinates import SkyCoord from astropy.time import Time from astropy.io import fits from astropy.table import Table from

What's inside
Steps it walks through
  1. Overview
  2. When to Use This Skill
  3. Quick Start
  4. Core Capabilities
  5. 1. Units and Quantities (astropy.units)
  6. 2. Coordinate Systems (astropy.coordinates)
  7. 3. Cosmological Calculations (astropy.cosmology)
  8. 4. FITS File Handling (astropy.io.fits)
  9. 5. Table Operations (astropy.table)
  10. 6. Time Handling (astropy.time)
  11. 7. World Coordinate System (astropy.wcs)
  12. Additional Capabilities
  13. NDData and CCDData
  14. Modeling
Ships with 7 files
  • references/coordinates.md
  • references/cosmology.md
  • references/fits.md
  • references/tables.md
  • references/time.md
  • references/units.md
  • references/wcs_and_other_modules.md
Commands it runs
Install astropy
uv pip install astropy
With optional dependencies for full functionality
uv pip install astropy[all]
More from qinyan-academic-skills
All skills →
About this skill
What does the astropy skill do?

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.

How do I install it?

Run `npx skills add LeonChaoX/qinyan-academic-skills --skill astropy --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From LeonChaoX/qinyan-academic-skills, a repository with 759 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going