add keywords for all nodes

This commit is contained in:
2026-04-04 14:58:56 -07:00
parent 69f1d1bebd
commit a0d3b22f18
195 changed files with 437 additions and 198 deletions

View File

@@ -2,10 +2,10 @@
File importer registry.
Each module in this package exposes:
extensions frozenset[str] lower-case extensions it handles
calibrated bool True when physical dimensions are known
load(path) → list[DataField] load all channels
channel_names(path) → list[str] channel name strings (same order as load)
extensions frozenset[str] - lower-case extensions it handles
calibrated bool - True when physical dimensions are known
load(path) → list[DataField] - load all channels
channel_names(path) → list[str] - channel name strings (same order as load)
Usage::

View File

@@ -5,19 +5,19 @@ Asylum Research instruments store scan metadata in a sidecar group rather
than as dataset attributes. This importer reads physical dimensions from:
Image/DataSetInfo/Global/Channels/<channel>/ImageDims
DimScaling (2,2) array: [[Y_start, Y_end], [X_start, X_end]]
DimScaling - (2,2) array: [[Y_start, Y_end], [X_start, X_end]]
absolute physical coordinate ranges in DimUnits
DimExtents pixel counts [yres, xres] (stored in a child group, not used for sizing)
DimUnits lateral unit strings [Y_unit, X_unit]
DataUnits Z unit string
DimExtents - pixel counts [yres, xres] (stored in a child group, not used for sizing)
DimUnits - lateral unit strings [Y_unit, X_unit]
DataUnits - Z unit string
If the sidecar group is absent (generic HDF5), standard dataset attributes
are used as a fallback:
xreal / yreal physical scan size in metres (fallback: 1e-6)
xoff / yoff position offset in metres (fallback: 0)
si_unit_xy lateral unit string (fallback: "m")
si_unit_z value unit string (fallback: "m")
xreal / yreal - physical scan size in metres (fallback: 1e-6)
xoff / yoff - position offset in metres (fallback: 0)
si_unit_xy - lateral unit string (fallback: "m")
si_unit_z - value unit string (fallback: "m")
Requires:
pip install h5py

View File

@@ -4,10 +4,10 @@ Generic HDF5 importer (.h5, .hdf5, .he5).
Each 2-D dataset found in the file is returned as a DataField. Physical
dimensions are read from standard dataset attributes if present:
xreal / yreal physical scan size in metres (fallback: 1e-6)
xoff / yoff position offset in metres (fallback: 0)
si_unit_xy lateral unit string (fallback: "m")
si_unit_z value unit string (fallback: "m")
xreal / yreal - physical scan size in metres (fallback: 1e-6)
xoff / yoff - position offset in metres (fallback: 0)
si_unit_xy - lateral unit string (fallback: "m")
si_unit_z - value unit string (fallback: "m")
For Asylum Research / Ergo format files (which store scan metadata in a
sidecar group rather than as dataset attributes), use the ergo_hdf5 importer.