Skip to main content

Crate phasesmith_persistence

Crate phasesmith_persistence 

Source
Expand description

Canonical, Python-free project persistence and stable summary reporting.

Project bundles are directories containing manifest.json plus a numeric arrays.npz. Wire records are explicit and versioned; live domain types do not derive serialization directly.

Structs§

HistogramSummary
One histogram entry in a project summary.
PhaseSummary
One phase entry in a project summary.
ProjectReadLimits
Resource limits applied before allocating project records and arrays.
ProjectReportSaveOptions
Project-summary report write behavior.
ProjectSaveOptions
Native project save behavior.
ProjectSummaryReport
Versioned, display-safe project summary without bulk numerical arrays.

Enums§

PersistenceError
Structured native persistence failure.

Constants§

PROJECT_ARRAYS_NAME
Canonical NumPy archive filename within a project directory.
PROJECT_FORMAT_VERSION
Current native project bundle wire version.
PROJECT_MANIFEST_NAME
Canonical manifest filename within a project directory.

Functions§

load_project
Load and fully validate one canonical native project directory.
load_rietveld_project
Load and validate one project plus all native Rietveld analyses.
project_summary_json
Serialize one validated summary to deterministic pretty JSON.
save_project
Save one validated native project as canonical JSON plus NPZ.
save_rietveld_project
Save one validated project and all runnable native Rietveld analyses.
write_project_summary_json
Write one validated project summary as JSON.
write_project_summary_json_with_options
Write one validated project summary with an explicit overwrite policy.