soda_lib_class¶
- class soda_analyzer.soda_lib_class(h5_path, workflow='auto', state_load=True, proc_load=False, structure_load=True, storesummariesinfile=True, env_load=False, nebscape_load=True, ezga_load=True)¶
Open SODA HDF5 output and expose views for its independently developed workflows.
- Parameters:
h5_path (str or pathlib.Path) – Path to the SODA HDF5 output; opened read-only.
workflow (str, optional) – Workflow selector:
auto,ape,ezga,nebscape, orakmc. Automatic detection uses the groups present in the file. Default:'auto'.state_load (bool, optional) – Populate
state_listwhile opening the database. Default:True.proc_load (bool, optional) – Populate process objects while loading states. Default:
False.structure_load (bool, optional) – Construct ASE structure objects during loading rather than on a later request. Default:
True.storesummariesinfile (bool, optional) – Read stored per-state search summaries when true; skip those summaries when false. Default:
True.env_load (bool, optional) – Populate the environment object list during loading. Default:
False.nebscape_load (bool, optional) – Create the NEBScape view if its group is present. Default:
True.ezga_load (bool, optional) – Create the EZGA view if its group is present. Default:
True.
- h5¶
Read-only HDF5 handle owned by this library.
- Type:
h5py.File
- workflow¶
Detected or requested workflow; mixed files report
mixed.- Type:
str
- state_id_list¶
State IDs as strings in numeric order.
- Type:
numpy.ndarray
- state_list¶
Loaded state views; empty if state loading is disabled.
- Type:
list of state_class
- state_num¶
Number of stored states.
- Type:
int
- environment_lib¶
Environment view, populated when requested.
- Type:
environment_lib_class or None
- ezga¶
EZGA view if its group exists and loading is enabled.
- Type:
ezga_lib_class or None
- nebscape¶
NEBScape view if its group exists and loading is enabled.
- Type:
nebscape_lib_class or None
Notes
Available under the public name
SodaLibrary;soda_lib_classremains a compatible name.Call
close()when finished. The explicit loading options above show the effective defaults; internal sentinels retain compatibility with the older positional constructor.Examples
>>> from soda_analyzer import SodaLibrary >>> db = SodaLibrary("output/output.h5", state_load=False) >>> print(db.workflow) >>> db.close()
Methods¶
Validate resolved process-to-product-state edges against process summaries. |
|
Scan clustering-member embedded descriptors for cross-cluster distances. |
|
Check process duplicates within each state using saddle and product equivalence. |
|
Check each state against earlier state IDs for duplicate structures. |
|
Check MinHop result equivalence in a NEBScape SODA HDF5 source. |
|
Close the HDF5 file owned by this library view. |
|
Compare Fairchem-backed SODA NEBScape evidence with native outputs. |
|
Compare SODA downstream NEBScape endpoints with native staged artifacts. |
|
Compare SODA optimize-only MinHop outputs with native minhop.xyz files. |
|
Detect the workflow from the requested selector and stored HDF5 groups. |
|
Collect available NEBScape bands and optional refinement outputs. |
|
Summarize persisted NEBScape workflow progress and dependencies. |
|
Read recorded AKMC state-to-state transitions. |
|
Create and cache the APE environment library. |
|
Create and cache the EZGA analysis view. |
|
Reload state identifiers and simulation metadata. |
|
Create and cache the NEBScape analysis view. |
|
Read process-to-product-state edges. |
|
Read one AKMC/APE state view. |
|
Load and cache all state views. |
|
Return counts for descriptor registry update/assignment cycle provenance. |
|
Return counts for descriptor sampling flags, including alias-blocked rows. |
|
Check persisted NEBScape calculator-output fields for finite values. |
|
Summarize Fairchem UMA runtime and calculate-metrics evidence from logs. |
|
Summarize split NEBScape geometry-pair preparation diagnostics from logs. |
|
Return a mechanical acceptance report for a NEBScape multi-node run. |
|
Summarize the rejected MinHop result fraction in a NEBScape HDF5 source. |
|
Summarize NEBScape search history and optimize-only finalization outcomes. |
|
Summarize NEBScape workflow progress, partial rows, and dependencies. |