Matscipy is a collection of generic Python tools for materials science, building upon popular scientific computing libraries like NumPy, SciPy, and especially ASE (Atomic Simulation Environment). It provides modules for elasticity, surface generation, structure manipulation, and I/O operations for materials data. The current version is 1.2.0, and the project maintains an active development pace with multiple releases per year.
pip install matscipyVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to create a simple crystal surface using `matscipy.surface.fcc111`. The generated `slab` object is an `ase.Atoms` object, which is the standard data structure used throughout Matscipy and ASE for representing atomic systems.
Refer to the ASE documentation (`wiki.fysik.dtu.dk/ase`) for understanding `ase.Atoms` objects and their manipulation.
Install the necessary visualization backend, e.g., `pip install nglview` for Jupyter interactive viewing.
Regularly check Matscipy's release notes and documentation for recommended or tested ASE versions. If encountering unexpected behavior, try updating or pinning ASE to a known compatible version.