rgpycrumbs.eon.ptmdisp¶
Identifies atoms in a structure file that do not match a specified crystal structure (e.g., FCC) and prints their 0-based indices to standard output. By default, the script is quiet. Use –verbose for progress messages.
Attributes¶
Classes¶
Enum where members are also (and must be) strings |
Functions¶
|
Analyzes a structure file with PTM, identifies the interstitial defect, |
|
Analyzes FILENAME to find all atoms that are NOT the specified |
Module Contents¶
- class rgpycrumbs.eon.ptmdisp.CrystalStructure[source]¶
Bases:
enum.StrEnumEnum where members are also (and must be) strings
- rgpycrumbs.eon.ptmdisp.find_mismatch_indices(filename: str, target_structure: CrystalStructure, remove_fcc_vacancy: bool = False, view_selection: bool = True, selection_radius: float = 5) numpy.ndarray[source]¶
Analyzes a structure file with PTM, identifies the interstitial defect, and returns the indices of the interstitial atoms plus all atoms within a sphere of radius selection_radius.