Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Provides Python Astropy APIs for units, coordinates, FITS I/O, tables, time scales, WCS, and cosmology calculations.
72% 92%+20 ptsof test cases passed
Passed 23 of 25 test cases with the skill, and 18 of 25 without it.
Write the exact terminal command using `uv` to perform a reproducible install of stable Astropy release 7.2.0 including popular optional packages for plotting and common scientific workflows.
Provides command uv pip install with astropy[recommended]==7.2.0
This test ran on v2. v3 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
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.
Use astropy when tasks involve:
Targets Astropy 8.0.1. Numerical and small synthetic file examples were executed; blocks using observation/catalog filenames, online services or a GUI are illustrative and require those inputs. See review evidence and sources.
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 astropy.cosmology import Planck18
# Units and quantities
distance = 100 * u.pc
distance_km = distance.to(u.km)
# Coordinates
coord = SkyCoord(ra=10.5*u.degree, dec=41.2*u.degree, frame='icrs')
coord_galactic = coord.galactic
Published skills whose descriptions closely match this one, with their benchmark result.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.