Expand description
Project file save and load for .nrd.h5 (NEREIDS HDF5 archive).
The project file captures the full session state so users can persist
and share analysis sessions. This module defines ProjectSnapshot
(a serialization-friendly subset of the GUI’s AppState) and the
save_project and load_project functions for HDF5 I/O.
Structs§
- Embedded
Data - Borrowed references to raw data for embedded saves.
- Project
Snapshot - Serialization-friendly snapshot of the full session state.
Constants§
- EMBED_
COMPRESSION_ RATIO - Estimated compression ratio for gzip-4 on float64 neutron data.
- PROJECT_
SCHEMA_ VERSION - Current schema version written to
/meta/version.
Functions§
- estimate_
embedded_ size - Estimate (uncompressed, compressed) byte sizes for embedding raw data.
- load_
project - Load a project snapshot from an HDF5 file at
path. - save_
project - Write a project snapshot to an HDF5 file at
path(linked mode). - save_
project_ with_ data - Write a project snapshot with optional embedded raw data.