nrrd_write — FILEIO nrrd op

• Data kinds: any → any

• Call: import fullseye as fs; fs.ledger.nrrd_write(array, *, meta, encoding) (to call the implementation directly, import fileio; fileio.nrrd_write(array, *, meta, encoding); from the registry, opsfileio.get("nrrd_write"))

• GPU: none (CPU reference implementation only)

Usage

Write a multidimensional array and space directions as raw/gzip NRRD bytes.

> The detailed description below is the original text — the summary and the headings are translated.

meta は各配列軸の方向ベクトル(非空間軸は None)、space_origin、space_unit(mm / um / angstrom)を持つ。任意の space は teem の座標系名(left-posterior-superior / LPS / RAS / scanner-xyz …)で、与えると space dimension の代わりに space: 行を書く(仕様では両者は排他)。encoding は raw または gzip を明示する。呼び出し例: nrrd_write(vol, meta=geometry, encoding="gzip")。

References (sample data, literature)

• Sample-data catalog (download URLs / licences) — 2-D uses skimage.data (BSD/public domain) plus synthetic images; 3-D lists download URLs for real data sources (Stanford, PDS, …).

• Operator provenance and references — the sources of the research/methods this op family came from.

• The canonical algorithm (author, year) and its uses are named in the family usage guide above.

Runnable examples (verified samples that actually call this op)

• fileio_scientific_roundtrip — py -3.11 examples/fileio_scientific_roundtrip.py

Ops the type connects to (they accept any as 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

Same category (nrrd)

nrrd_read


*Provenance: fileio.py — FILEIO operator registry. This per-op note is generated by tools/opdocs.py md (do not hand-edit).*

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