스킬 astropy
🔭

astropy

안전 🌐 네트워크 접근📁 파일 시스템 액세스⚙️ 외부 명령어

Arbeiten mit astronomischen Daten und Berechnungen

또한 다음에서 사용할 수 있습니다: K-Dense-AI

Astronomische Forschung erfordert präzise Handhabung von Himmelskoordinaten, physikalischen Einheiten und spezialisierten Datenformaten. Diese Fähigkeit bietet fachkundige Anleitung zur Verwendung von astropy für Koordinatentransformationen, FITS-Dateioperationen, kosmologische Berechnungen und Zeitskalenkonvertierungen.

지원: Claude Codex Code(CC)
🥉 73 브론즈
1

스킬 ZIP 다운로드

2

Claude에서 업로드

설정 → 기능 → 스킬 → 스킬 업로드로 이동

3

토글을 켜고 사용 시작

테스트해 보기

"astropy" 사용 중입니다. Convert M31 coordinates to Galactic frame and calculate angular separation from a source at (10.68, 41.27) degrees

예상 결과:

  • M31 (Andromeda Galaxy) Galactic coordinates: l ~ 121.17 degrees, b ~ -21.57 degrees
  • Angular separation from (10.68, 41.27) is approximately 56.4 degrees on the sky
  • The two sources are widely separated on the sky, not nearby each other

"astropy" 사용 중입니다. Calculate the luminosity distance and age of the universe at redshift z=0.5 using the Planck18 cosmology

예상 결과:

  • Luminosity distance at z=0.5: approximately 2750 Mpc
  • Angular diameter distance: approximately 1830 Mpc
  • Lookback time: approximately 5 billion years
  • Age of universe at this redshift: about 10.2 billion years

"astropy" 사용 중입니다. Read a FITS file header and list all keywords with their values

예상 결과:

  • SIMPLE = T (FITS file conforms to standard)
  • BITPIX = -32 (32-bit floating point data)
  • NAXIS = 2 (2-dimensional image)
  • NAXIS1 = 2048, NAXIS2 = 2048 (image dimensions)
  • EXPTIME = 300.0 (exposure time in seconds)
  • FILTER = V (visual filter used)

보안 감사

안전
v5 • 1/17/2026

Pure documentation-only skill containing markdown files with example Python code for legitimate astronomical calculations. All 412 static findings are FALSE POSITIVES triggered by markdown formatting and documentation content, not actual executable code. The skill documents standard astropy operations for reading astronomical FITS files and querying public astronomical catalogs.

9
스캔된 파일
3,009
분석된 줄 수
3
발견 사항
5
총 감사 수

위험 요인

🌐 네트워크 접근 (2)
📁 파일 시스템 액세스 (2)
⚙️ 외부 명령어 (1)
감사자: claude 감사 이력 보기 →

품질 점수

45
아키텍처
100
유지보수성
87
콘텐츠
30
커뮤니티
100
보안
91
사양 준수

만들 수 있는 것

Beobachtungsdaten verarbeiten

FITS-Dateien von Teleskopen lesen, Metadaten extrahieren und Koordinatentransformationen für die Analyse durchführen

Astronomische Berechnungen erlernen

Kosmologische Konzepte durch praktische Beispiele mit Leuchtkraftentfernung und Lookback-Zeit-Berechnungen verstehen

Wissenschaftliche Datensätze bearbeiten

Mit spezialisierten astronomischen Dateiformaten arbeiten und einheitsbewusste Berechnungen auf großen Datensätzen durchführen

이 프롬프트를 사용해 보세요

Grundlegende Koordinatenkonvertierung
Use astropy SkyCoord to convert RA/Dec coordinates from ICRS frame to Galactic coordinates for a source at RA=10.68 degrees, Dec=41.27 degrees
FITS-Datei lesen
Read a FITS file using astropy.io.fits, access the header keywords, and extract image data from the first extension HDU
Kosmologische Berechnungen
Use astropy.cosmology Planck18 to calculate luminosity distance, angular diameter distance, and lookback time for a source at redshift z=1.5
Zeitskalenkonvertierung
Convert a UTC time 2023-01-15 12:30:00 to TAI, TT, and TDB time scales using astropy.time.Time

모범 사례

  • Fügen Sie immer Einheiten zu Größen hinzu, um dimensionale Konsistenz in Berechnungen sicherzustellen
  • Verwenden Sie Kontextmanager (with-Anweisungen) beim Öffnen von FITS-Dateien für sichere Handhabung
  • Geben Sie Zeitskalen explizit an, wenn Sie mit präzisen astronomischen Zeiten arbeiten

피하기

  • Koordinatentransformationen durchführen, ohne den Eingabekoordinatenrahmen zu überprüfen
  • Tabellen statt QTables verwenden, wenn Spalten physikalische Einheiten haben
  • FITS-Strukturschlüsselwörter (SIMPLE, BITPIX, NAXIS) ohne Verständnis der Konsequenzen ändern

자주 묻는 질문

Welche Python-Version erfordert astropy?
Astropy unterstützt Python 3.9 oder höher. Installieren Sie mit uv pip install astropy oder pip install astropy.
Was ist die maximale Rotverschiebung für kosmologische Berechnungen?
Astropy-Berechnungen sind für z kleiner als etwa 5000-6000 gültig, abhängig vom verwendeten kosmologischen Modell.
Wie integriere ich astropy mit NumPy und pandas?
Astropy-Größen funktionieren nahtlos mit NumPy-Operationen. Konvertieren Sie Tabellen mit der Table.to_pandas()-Methode nach pandas.
Sind meine Daten sicher beim Lesen von Remote-FITS-Dateien?
Astropy kann von S3 und HTTP lesen. Verwenden Sie .section für Remote-Ausschnitte, um nicht ganze Dateien herunterzuladen. Ihre Daten verlassen Ihre Umgebung nicht unerwartet.
Warum sind meine Koordinatentransformationen langsam?
Verarbeiten Sie Koordinaten als Arrays statt in Schleifen. Wiederverwenden Sie Rahmenobjekte für mehrere Transformationen. Skalierungskonvertierungen erfordern möglicherweise IERS-Datendownloads.
Wie schneidet astropy im Vergleich zu anderen Astronomie-Bibliotheken ab?
Astropy ist die zentrale Python-Astronomie-Bibliothek. Es bietet standardisierte Werkzeuge, die von den meisten Astronomie-Paketen verwendet werden. CCDAstroPy baut auf astropy für spezifische Anwendungsfälle auf.

개발자 세부 정보

파일 구조