lib-astropy

Converts celestial coordinates, physical units, and computes cosmological models using Astropy in Python.

Updated Mar 13, 2026
One-click install
npx skills add https://github.com/biomaps-infra/blender-opencode --skill lib-astropy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lib-astropy
Source: https://github.com/biomaps-infra/blender-opencode/tree/main/.opencode/skills/lib-astropy
Command: npx skills add https://github.com/biomaps-infra/blender-opencode --skill lib-astropy

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill simplifies complex astronomical data analysis, enabling users to perform calculations and transformations related to celestial coordinates, physical units, and cosmological models without deep domain expertise.

Core Features & Use Cases

  • Coordinate Transformations: Convert between ICRS, Galactic, AltAz, and other celestial frames.
  • Unit Conversions: Handle physical units (e.g., parsecs to km, Jy to mJy) and ensure dimensional consistency.
  • Cosmological Calculations: Compute distances, ages, and lookback times using standard cosmological models.
  • FITS File I/O: Read, write, and manipulate astronomical data in FITS format.
  • Use Case: Analyze telescope data by converting pixel coordinates to sky coordinates, applying unit conversions to flux measurements, and calculating the luminosity distance to celestial objects.

Quick Start

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

Frequently Asked Questions about lib-astropy

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

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

To convert celestial coordinates from ICRS to Galactic frames, you can use this Skill to apply astronomical coordinate transformations. It handles frame conversions like ICRS, Galactic, and AltAz directly.

What is the best way to handle physical unit conversions for astronomical data?

The best way to handle physical unit conversions for astronomical data is using dedicated astrophysics libraries. This Skill ensures dimensional consistency when converting units like parsecs to kilometers or Jy to mJy.

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

Yes, you can read and manipulate FITS files for telescope data analysis. This Skill provides FITS file I/O operations to process astronomical data, enabling you to convert pixel coordinates to sky coordinates.

How do I calculate luminosity distance and lookback times using standard cosmological models?

To calculate luminosity distance and lookback times using standard cosmological models, utilize this Skill's cosmological calculation features. It computes distances and ages for celestial objects accurately.

Do I need the astropy package installed to perform astronomical data processing?

Yes, you need the astropy package installed to perform astronomical data processing. This Skill requires the astropy dependency for all functionalities, including coordinate transformations and FITS operations.

Does this Skill support precise time handling for astrophysics calculations?

Yes, this Skill supports precise time handling for astrophysics calculations. It facilitates data manipulation and processing that requires accurate time tracking alongside coordinate and unit transformations.