Module project

Module project 

Source
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§

EmbeddedData
Borrowed references to raw data for embedded saves.
ProjectSnapshot
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.