跳转到主要内容

chemiscope交互式结构/性质探索器与材料和大分子的助手

项目描述

Python为chemiscope提供的助手

此软件包包含用于生成chemiscope默认可视化器输入文件的Python代码,并将chemiscope与jupyter笔记本集成。

安装

您应该使用pip安装此软件包

pip install chemiscope

这将安装chemiscope-input命令行工具和chemiscope软件包。

使用方法

创建新的chemiscope输入文件

import chemiscope
import ase.io

# read frames using ase
frames = ase.io.read("structures.xyz", ":")

# add additional properties to display
properties = {
    "<property name>": {
        target: "atom",
        values: [3, 4, 2, 8, 9, 10],
    }
}

chemiscope.write_input("my-input.json.gz", frames=frames, properties=properties)

在jupyter笔记本中显示chemiscope小部件

import chemiscope
import ase.io

# read frames using ase
frames = ase.io.read("structures.xyz", ":")

# add additional properties to display
properties = {
    "<property name>": [3, 4, 2, 8, 9, 10],
}

chemiscope.show(frames=frames, properties=properties)

项目详情


下载文件

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

源分发

chemiscope-0.7.3.tar.gz (3.6 MB 查看哈希值)

上传时间

构建分发

chemiscope-0.7.3-py3-none-any.whl (3.7 MB 查看哈希值)

上传时间 Python 3

支持者