MagneticOrderingsBuilder¶
- class atomate2.common.builders.magnetism.MagneticOrderingsBuilder(tasks, magnetic_orderings, query=None, structure_match_stol=0.3, structure_match_ltol=0.2, structure_match_angle_tol=5, **kwargs)[source]¶
Bases:
Builder
Builder to analyze the results of magnetic orderings calculations.
This job will process the output documents of the calculations and return new documents with relevant parameters (such as the total magnetization, whether the ordering changed, whether the particular ordering is the ground state, etc.). This is especially useful for performing postprocessing of magnetic ordering calculations.
- Parameters:
tasks (.Store) – Store of task documents.
magnetic_orderings (.Store) – Store for magnetic ordering documents.
query (dict) – Dictionary query to limit tasks to be analyzed.
structure_match_stol (float) – Numerical site tolerance for structure equivalence. Default is 0.3.
structure_match_ltol (float) – Numerical length tolerance for structure equivalence. Default is 0.3
structure_match_angle_tol (float) – Numerical angle tolerance in degrees for structure equivalence. Default is 5.
**kwargs (dict) – Keyword arguments that will be passed to the Builder init.
- ensure_indexes()[source]¶
Ensure indices on the tasks and magnetic orderings collections.
- Return type:
None
- get_items()[source]¶
Get all items to process into magnetic ordering documents.
This step does a first grouping by formula (which is fast) and then the magnetic orderings are grouped by parent structure.