environment_lib_class¶
- class soda_analyzer.environment_lib_class(h5_lib, env_load=False, structure_load=False)¶
Inspect APE descriptor environments, cluster membership, and model provenance.
- Parameters:
h5_lib (h5py.File) – Open SODA HDF5 file. Keep it open while using views derived from it.
env_load (bool, optional) – Populate the environment object list during loading. Default:
False.structure_load (bool, optional) – Construct ASE structure objects during loading rather than on a later request. Default:
False.
- registry_table¶
Descriptor registry records.
- Type:
numpy.ndarray
- full_descriptors¶
Full descriptor matrix.
- Type:
numpy.ndarray
- meta¶
Embedding and clustering metadata.
- Type:
dict
- env_list¶
Environment views populated when requested.
- Type:
list of environment_class
Notes
Available under the public name
ApeEnvironmentLibrary;environment_lib_classremains a compatible name.This record borrows its HDF5 handle. Keep the owning library open while accessing related records or lazily loaded data.
Methods¶
Reconstruct the DECAF model using this library metadata. |
|
Write source structures containing members of one cluster. |
|
Read the central atom associated with a registry row. |
|
Read the full source structure associated with a registry row. |
|
Read a source structure or one atom using its registry trace. |
|
Read the earliest known descriptor update cycle for a cluster. |
|
Read the earliest known update cycle for each cluster. |
|
Read cluster IDs present in the selected source structures. |
|
Count matching registry or full-descriptor rows for one cluster. |
|
Trace cluster members back to their source atoms and structures. |
|
Select registry indices assigned to one cluster. |
|
Return model-member registry indices assigned to one cluster. |
|
Read registry indices used for the clustering model. |
|
Read cluster IDs appearing in a state or process structure. |
|
Read one embedded descriptor vector. |
|
Read embedded descriptor vectors for selected registry indices. |
|
Read embedded descriptor vectors for members of one cluster. |
|
Read embedded descriptor vectors for selected registry indices. |
|
Read full-descriptor indices used for the embedding model. |
|
Read the full descriptor referenced by one registry row. |
|
Map one registry index to its full-descriptor row ID. |
|
Map registry indices to valid full-descriptor row IDs. |
|
Read full descriptor vectors for members of one cluster. |
|
Read full descriptor vectors referenced by registry indices. |
|
Return valid registry indices used by the clustering model. |
|
Copy the descriptor model metadata. |
|
Read descriptor data needed to reconstruct the DECAF model. |
|
Select descriptor registry indices using structure and cluster filters. |
|
Read one descriptor registry row. |
|
Select a representative environment from one cluster. |
|
Read source-structure identifiers and provenance for a registry row. |
|
Group cluster-member traces by their source structure. |
|
Read one descriptor-environment view by registry index. |
|
Load and cache all descriptor-environment views. |
|
Reload descriptor tables and model metadata. |
|
Summarize cluster membership, source structures, and provenance. |