astro_fits_write — FILEIO fits op

• Data kinds: any → any

• Call: import fullseye as fs; fs.ledger.astro_fits_write(image, *, header) (implementation को सीधे call करना हो तो import fileio; fileio.astro_fits_write(image, *, header), registry से लेना हो तो opsfileio.get("astro_fits_write"))

• GPU: नहीं (केवल CPU reference implementation)

उपयोग

2-D/3-D astronomical image और basic WCS को primary-HDU FITS bytes में लिखता है।

> नीचे का विस्तृत विवरण मूल text में है — सारांश और headings का अनुवाद हो चुका है।

header は FITS の基本 WCS キー(CTYPE*, CRPIX*, CRVAL*, CDELT*, PC*_*, CD*_*, CUNIT* など)だけを持つ辞書。構造キーは配列から作り、uint16/uint32 は標準の BZERO 規約で保存する。呼び出し例:

payload = astro_fits_write(image, header={"CTYPE1": "RA---TAN"})。

संदर्भ (sample data, साहित्य)

• Sample data catalog (DL URL / license) — 2-D के लिए skimage.data (BSD/public) + synthetic, 3-D के लिए real data sources (Stanford/PDS आदि) के DL URL।

• Operators का स्रोत और संदर्भ — इस op family के मूल research/methods के स्रोत।

• Algorithm का मानक स्रोत (लेखक, वर्ष) और उपयोग ऊपर की family usage guide में दिए गए हैं।

चलाए जा सकने वाले उदाहरण (verified samples जो सच में यह op call करते हैं)

• fileio_scientific_roundtrip — py -3.11 examples/fileio_scientific_roundtrip.py

वे अगले ops जिनसे type जुड़ता है (any को input के रूप में लेते हैं)

table_write_csv · table_read_csv · mesh_write_ply · mesh_read_ply · mesh_write_stl · mesh_read_stl · mesh_write_obj · mesh_read_obj

इसी category के (fits)

astro_fits_read


*Provenance: fileio.py — FILEIO operator registry. यह per-op note tools/opdocs.py md से अपने-आप generate होता है (हाथ से edit न करें)।*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.