pyiron_atomistics.atomistics.structure.pyscal.analyse_cna_adaptive#
- pyiron_atomistics.atomistics.structure.pyscal.analyse_cna_adaptive(structure, mode='total', ovito_compatibility=False)[source]#
Use common neighbor analysis
- Parameters:
structure (pyiron_atomistics.structure.atoms.Atoms) – The structure to analyze.
mode ("total"/"numeric"/"str") –
Controls the style and level of detail of the output. - total : return number of atoms belonging to each structure - numeric : return a per atom list of numbers- 0 for unknown,
1 fcc, 2 hcp, 3 bcc and 4 icosa
str : return a per atom string of sructures
ovito_compatibility (bool) – use ovito compatiblity mode
- Returns:
(depends on mode)