astro_fits_read — FILEIO fits op

• 資料種類:any → any

• 呼叫: import fullseye as fs; fs.ledger.astro_fits_read(data)(要直接呼叫實作,import fileio; fileio.astro_fits_read(data);從台帳取用則 opsfileio.get("astro_fits_read"))

• GPU:無(僅 CPU 參考實作)

用法

讀取主 HDU 的二維/三維 FITS 影像,傳回 (image_or_volume, meta)。

> 以下的詳細說明為原文 —— 摘要與標題已翻譯。

meta は bitpix、bzero、bscale と基本 WCS の wcs 辞書を持つ。切れたブロック、random groups、BLANK、次元・BITPIX・データ長の不一致は名指しで拒否する。

呼び出し例: image, meta = astro_fits_read(payload)。

參考(範例資料、文獻)

• 範例資料目錄(下載 URL / 授權) —— 2-D 用 skimage.data(BSD/公有領域)加合成圖,3-D 給出真實資料源(Stanford/PDS 等)的下載 URL。

• 運算子來歷與參考文獻 —— 該運算子族所依據的研究/方法出處。

• 演算法的正典(作者、年份)與用途見上面的族使用指南。

可執行的範例(實際呼叫該運算子並已驗證的樣例)

• fileio_scientific_roundtrip — py -3.11 examples/fileio_scientific_roundtrip.py

型別可銜接的下一個運算子(可接受 any 作為輸入)

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

同類別(fits)

astro_fits_write


*Provenance: fileio.py — FILEIO 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*

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