跳转到主要内容

MatID是一个基于结构识别和分析原子系统的Python包。

项目描述

Build status Coverage Status Ruff

MatID是一个基于结构识别和分析原子系统的Python包。

文档

有关更多信息和教程,请访问以下文档:https://nomad-coe.github.io/matid/

您可以在以下文章中找到更多详细信息

示例:表面检测和分析

import ase.io
from ase.visualize import view

from matid.clustering import SBC
from matid.symmetry import SymmetryAnalyzer

# Load structure from a file
system = ase.io.read('data/system.xyz')

# Find interesting substructures using Symmetry-based Clustering (SBC)
sbc = SBC()
clusters = sbc.get_clusters(system)

# Analyze each found cluster printing out the indices of the atoms belonging to
# this cluster and visualizing the conventional cell from which the cluster was
# built from.
for cluster in clusters:

    # Get the indices of the atoms belonging to this cluster
    indices = cluster.indices
    print(indices)

    # Get the dimensionality of the cluster
    dimensionality = cluster.get_dimensionality()
    print(dimensionality)

    # Get the cell from which the cluster is constructed from. The periodicity
    # of this cell indicates in which directions the unit cell has been found to
    # be repeated in (at least once, possibly infinitely).
    cell = cluster.get_cell()
    n_repeated_directions = sum(cell.get_pbc())
    print(n_repeated_directions)

    # Analyze some symmetry properties of the underlying cell to better identify
    # the material from which the cluster has been constructed from.
    analyzer = SymmetryAnalyzer(cell, symmetry_tol=0.5)
    conv_sys = analyzer.get_conventional_system()
    view(conv_sys)

安装

pip

pip install matid

从源代码安装

git clone https://github.com/nomad-coe/matid.git
cd matid
pip install .

项目详情


下载文件

下载适用于您平台的文件。如果您不确定选择哪个,请了解更多关于安装包的信息。

源分发

matid-2.1.2.tar.gz (149.9 kB 查看哈希值)

上传时间

构建分发

matid-2.1.2-cp312-cp312-win_amd64.whl (261.0 kB 查看哈希值)

上传时间 CPython 3.12 Windows x86-64

matid-2.1.2-cp312-cp312-win32.whl (250.6 kB 查看哈希值)

上传时间 CPython 3.12 Windows x86

matid-2.1.2-cp312-cp312-musllinux_1_2_x86_64.whl (3.7 MB 查看哈希值)

上传时间 CPython 3.12 musllinux: musl 1.2+ x86-64

matid-2.1.2-cp312-cp312-musllinux_1_2_i686.whl (3.7 MB 查看哈希值)

上传时间 CPython 3.12 musllinux: musl 1.2+ i686

matid-2.1.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.8 MB 查看哈希值)

上传时间 CPython 3.12 manylinux: glibc 2.17+ x86-64

matid-2.1.2-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl (2.7 MB 查看哈希值)

上传时间 CPython 3.12 manylinux: glibc 2.17+ i686

matid-2.1.2-cp312-cp312-macosx_11_0_arm64.whl (274.6 kB 查看哈希值)

上传时间 CPython 3.12 macOS 11.0+ ARM64

matid-2.1.2-cp312-cp312-macosx_10_9_x86_64.whl (283.1 kB 查看哈希值)

上传时间 CPython 3.12 macOS 10.9+ x86-64

matid-2.1.2-cp311-cp311-win_amd64.whl (261.4 kB 查看哈希值)

上传于 CPython 3.11 Windows x86-64

matid-2.1.2-cp311-cp311-win32.whl (251.7 kB 查看哈希值)

上传于 CPython 3.11 Windows x86

matid-2.1.2-cp311-cp311-musllinux_1_2_x86_64.whl (3.7 MB 查看哈希值)

上传于 CPython 3.11 musllinux: musl 1.2+ x86-64

matid-2.1.2-cp311-cp311-musllinux_1_2_i686.whl (3.7 MB 查看哈希值)

上传于 CPython 3.11 musllinux: musl 1.2+ i686

matid-2.1.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.8 MB 查看哈希值)

上传于 CPython 3.11 manylinux: glibc 2.17+ x86-64

matid-2.1.2-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl (2.7 MB 查看哈希值)

上传于 CPython 3.11 manylinux: glibc 2.17+ i686

matid-2.1.2-cp311-cp311-macosx_11_0_arm64.whl (276.2 kB 查看哈希值)

上传于 CPython 3.11 macOS 11.0+ ARM64

matid-2.1.2-cp311-cp311-macosx_10_9_x86_64.whl (283.8 kB 查看哈希值)

上传于 CPython 3.11 macOS 10.9+ x86-64

matid-2.1.2-cp310-cp310-win_amd64.whl (260.5 kB 查看哈希值)

上传于 CPython 3.10 Windows x86-64

matid-2.1.2-cp310-cp310-win32.whl (250.5 kB 查看哈希值)

上传于 CPython 3.10 Windows x86

matid-2.1.2-cp310-cp310-musllinux_1_2_x86_64.whl (3.6 MB 查看哈希值)

上传于 CPython 3.10 musllinux: musl 1.2+ x86-64

matid-2.1.2-cp310-cp310-musllinux_1_2_i686.whl (3.7 MB 查看哈希值)

上传时间: CPython 3.10 musllinux: musl 1.2+ i686

matid-2.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.8 MB 查看哈希值)

上传时间: CPython 3.10 manylinux: glibc 2.17+ x86-64

matid-2.1.2-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl (2.7 MB 查看哈希值)

上传时间: CPython 3.10 manylinux: glibc 2.17+ i686

matid-2.1.2-cp310-cp310-macosx_11_0_arm64.whl (274.8 kB 查看哈希值)

上传时间: CPython 3.10 macOS 11.0+ ARM64

matid-2.1.2-cp310-cp310-macosx_10_9_x86_64.whl (282.6 kB 查看哈希值)

上传时间: CPython 3.10 macOS 10.9+ x86-64

matid-2.1.2-cp39-cp39-win_amd64.whl (260.4 kB 查看哈希值)

上传时间: CPython 3.9 Windows x86-64

matid-2.1.2-cp39-cp39-win32.whl (250.8 kB 查看哈希值)

上传时间: CPython 3.9 Windows x86

matid-2.1.2-cp39-cp39-musllinux_1_2_x86_64.whl (3.6 MB 查看哈希值)

上传时间: CPython 3.9 musllinux: musl 1.2+ x86-64

matid-2.1.2-cp39-cp39-musllinux_1_2_i686.whl (3.7 MB 查看哈希值)

上传时间: CPython 3.9 musllinux: musl 1.2+ i686

matid-2.1.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.8 MB 查看哈希值)

上传时间: CPython 3.9 manylinux: glibc 2.17+ x86-64

matid-2.1.2-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl (2.7 MB 查看哈希值)

上传时间: CPython 3.9 manylinux: glibc 2.17+ i686

matid-2.1.2-cp39-cp39-macosx_11_0_arm64.whl (274.9 kB 查看哈希值)

上传于 CPython 3.9 macOS 11.0+ ARM64

matid-2.1.2-cp39-cp39-macosx_10_9_x86_64.whl (282.7 kB 查看哈希值)

上传于 CPython 3.9 macOS 10.9+ x86-64

matid-2.1.2-cp38-cp38-win_amd64.whl (260.3 kB 查看哈希值)

上传于 CPython 3.8 Windows x86-64

matid-2.1.2-cp38-cp38-win32.whl (250.6 kB 查看哈希值)

上传于 CPython 3.8 Windows x86

matid-2.1.2-cp38-cp38-musllinux_1_2_x86_64.whl (3.6 MB 查看哈希值)

上传于 CPython 3.8 musllinux: musl 1.2+ x86-64

matid-2.1.2-cp38-cp38-musllinux_1_2_i686.whl (3.7 MB 查看哈希值)

上传于 CPython 3.8 musllinux: musl 1.2+ i686

matid-2.1.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.8 MB 查看哈希值)

上传于 CPython 3.8 manylinux: glibc 2.17+ x86-64

matid-2.1.2-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl (2.7 MB 查看哈希值)

上传于 CPython 3.8 manylinux: glibc 2.17+ i686

matid-2.1.2-cp38-cp38-macosx_11_0_arm64.whl (274.8 kB 查看哈希值)

上传于 CPython 3.8 macOS 11.0+ ARM64

matid-2.1.2-cp38-cp38-macosx_10_9_x86_64.whl (282.4 kB 查看哈希值)

上传于 CPython 3.8 macOS 10.9+ x86-64

支持