table op• 数据种类:table → text
• 调用: import fullseye as fs; fs.ledger.table_write_csv(table, *, units, meta)(要直接调用实现,import fileio; fileio.table_write_csv(table, *, units, meta);从台账取用则 opsfileio.get("table_write_csv"))
• GPU:无(仅 CPU 参考实现)
把带单位和来源信息的表写成 pandas 与 MATLAB 均可读取的 CSV 字符串(text)。
> 以下的详细说明为原文 —— 摘要与标题已翻译。
table は {列名: 1-D 配列}。units は全列の単位を同じキーで持つ辞書、meta は source(出所)、generated_at(ISO 8601)、coordinate_meaning(座標の意味)を必ず持つ。1 行目は列名、2 行目は # units:、続く # key: value 行はメタデータ、その後がデータ。pandas.read_csv(StringIO(text), comment="#") で列名と値を読み、MATLAB ではコメント行を除外して readtable で読める。浮動小数は Python の repr で丸めず、列長不一致・単位欠落・無限値は拒否する。
呼び出し例: table_write_csv({"x": [1.0]}, units={"x": "mm"}, meta={"source": "caliper", "generated_at": "2026-10-31T12:00:00+09:00", "coordinate_meaning": "x is right-handed"})。
• 示例数据目录(下载 URL / 许可证) —— 2-D 用 skimage.data(BSD/公有领域)加合成图,3-D 给出真实数据源(Stanford/PDS 等)的下载 URL。
• 算子来历与参考文献 —— 该算子族所依据的研究/方法出处。
• 算法的正典(作者、年份)与用途见上面的族使用指南。
• fileio_roundtrip — py -3.11 examples/fileio_roundtrip.py
text 作为输入)table_read_csv · mesh_read_ply · mesh_read_stl · mesh_read_obj · mesh_read_off · points_read_xyz · e57_read · archive_probe
table)*Provenance: fileio.py — FILEIO 算子登记表。本条目由 tools/opdocs.py md 自动生成(请勿手工编辑)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.