Toolverse
All skills

astropy

by davila7

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

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
davila7
Category
Frontend
Views
74

About this skill

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 to use

  1. Zainstaluj bibliotekę Astropy w swoim środowisku Pythona poleceniem pip install astropy. Biblioteka zawiera moduły do pracy z jednostkami (astropy.units), współrzędnymi (astropy.coordinates), czasem (astropy.time), plikami FITS (astropy.io.fits), tabelami (astropy.table) i kosmologią (astropy.cosmology).

  2. Importuj potrzebne moduły w zależności od zadania. Do konwersji jednostek fizycznych użyj astropy.units, do transformacji współrzędnych niebieskich użyj astropy.coordinates, a do operacji na plikach FITS użyj astropy.io.fits.

  3. Dla transformacji współrzędnych niebieskich utwórz obiekt SkyCoord podając rektascensję i deklinację w wybranym systemie (np. ICRS), następnie konwertuj do innego systemu (np. galaktycznego) używając właściwości .galactic lub innych dostępnych ramek odniesienia.

  4. Do pracy z jednostkami i wielkościami fizycznymi przypisz jednostkę do wartości liczbowej (np. 100 * u.pc dla parseka), a następnie konwertuj do innej jednostki metodą .to() podając docelową jednostkę.

  5. Dla operacji na czasie astronomicznym użyj klasy Time podając datę i czas w formacie ISO, następnie dostęp do różnych reprezentacji (JD, MJD) lub konwersji między skalami czasowymi (UTC, TAI, TT, TDB).

  6. Do pracy z katalogami i tabelami danych astronomicznych użyj astropy.table.Table do wczytywania, filtrowania, łączenia i manipulacji danymi tabelarycznymi z plików FITS lub innych źródeł.

Related skills

react

by lobehub

React component development guide. Use when working with React components (.tsx files), creating UI, using @lobehub/ui components, implementing routing, or building frontend features. Triggers on React component creation, modification, layout implementation, or navigation tasks.

Frontend
2058

tailwind-design-system

by wshobson

Build scalable design systems with Tailwind CSS, design tokens, component libraries, and responsive patterns. Use when creating component libraries, implementing design systems, or standardizing UI patterns.

Frontend
2676

theme-factory

by anthropics

Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.

Frontend
40139

markitdown

by K-Dense-AI

Convert various file formats (PDF, Office documents, images, audio, web content, structured data) to Markdown optimized for LLM processing. Use when converting documents to markdown, extracting text from PDFs/Office files, transcribing audio, performing OCR on images, extracting

Frontend
75173

2d-games

by davila7

2D game development principles. Sprites, tilemaps, physics, camera.

Frontend
2674

screenshot-to-code

by OneWave-AI

Convert UI screenshots into working HTML/CSS/React/Vue code. Detects design patterns, components, and generates responsive layouts. Use this when users provide screenshots of websites, apps, or UI designs and want code implementation.

Frontend
94209