MatID is a Python package for identifying and analyzing atomistic systems based
on their structure.
Documentation
For more details and tutorials, visit the documentation at:
https://nomad-coe.github.io/matid/
You can find even more details in the following articles:
Example: Surface detection and analysis
import ase.io
from ase.visualize import view
from matid.clustering import SBC
from matid.symmetry import SymmetryAnalyzer
system = ase.io.read('data/system.xyz')
sbc = SBC()
clusters = sbc.get_clusters(system)
for cluster in clusters:
indices = cluster.indices
print(indices)
dimensionality = cluster.get_dimensionality()
print(dimensionality)
cell = cluster.get_cell()
n_repeated_directions = sum(cell.get_pbc())
print(n_repeated_directions)
analyzer = SymmetryAnalyzer(cell, symmetry_tol=0.5)
conv_sys = analyzer.get_conventional_system()
view(conv_sys)
Installation
pip
pip install matid
From source
git clone https://github.com/nomad-coe/matid.git
cd matid
pip install .