em_mrc_write — FILEIO mrc op

• Data kinds: any → any

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

• GPU: none (CPU reference implementation only)

Usage

Write 2-D/3-D electron-microscopy data as MRC2014/CCP4 bytes.

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

mode 0/1/2/6(int8/int16/float32/uint16)を扱う。meta は voxel_size / origin の x,y,z と、それぞれの単位キー voxel_unit='angstrom' / origin_unit='angstrom' を必須とする。

呼び出し例: em_mrc_write(vol, meta={"voxel_size": [1,1,2], "voxel_unit": "angstrom", "origin": [0,0,0], "origin_unit": "angstrom"})。

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 (mrc)

em_mrc_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.