state_class¶
- class soda_analyzer.state_class(h5_lib, stateID, proc_load=False, structure_load=False, storesummariesinfile=True)¶
Inspect one AKMC/APE state, its structures, and its process summaries.
- Parameters:
h5_lib (h5py.File) – Open SODA HDF5 file. Keep it open while using views derived from it.
stateID (int) – State identifier in
/States.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:
False.storesummariesinfile (bool, optional) – Read stored per-state search summaries when true; skip those summaries when false. Default:
True.
- h5¶
Borrowed HDF5 handle.
- Type:
h5py.File
- stateID¶
State identifier.
- Type:
int
- proc_list¶
Process views populated when requested.
- Type:
list of process_class
Notes
Available under the public name
AkmcApeState;state_classremains a compatible name.This record borrows its HDF5 handle. Keep the owning library open while accessing related records or lazily loaded data.
Methods¶
Build an ASE structure from stored coordinates and fixed-atom flags. |
|
Read barrier list. |
|
Read the selected structure cell in ASE convention. |
|
Read the stored energy of a process structure. |
|
Read the fixed-atom mask for the selected structure. |
|
Read force calls. |
|
Read reconstructed atomic positions for the selected structure. |
|
Read prefactor list. |
|
Load and cache process objects belonging to this state. |
|
Read search id list. |
|
Read atomic numbers for the selected structure. |
|
Read stat repeats list. |
|
Read termination list. |
|
Populate selected state caches from the HDF5 file. |
Attributes¶
Return the cached atoms. |
|
Return the cached barrier list. |
|
Return the cached cell. |
|
Return the cached energy. |
|
Return the cached fixed list. |
|
Return the cached force calls. |
|
Return the cached pos. |
|
Return the cached prefactor list. |
|
Return the cached proc num. |
|
Return the cached search id list. |
|
Return the cached search stats. |
|
Return the cached species list. |
|
Return the cached stat repeats list. |
|
Return the cached termination list. |