如何通过Pymat或Matminer从材料项目中提取常规标准类型文件
我使用Matminer从材料项目中获取CIF文件。代码是:
from matminer.data_retrieval.retrieve_MP import MPDataRetrieval
mpdr = MPDataRetrieval(api_key='My_key')
df = mpdr.get_dataframe(criteria='Mg2SiO4', properties=['cif'])
我从上述代码中提取的CIF文件显示在MP数据库的网页上,称为“ cumpted”。下图显示了维斯塔的结构 图1 图2 ,
但我看到这是MP数据库网站上的'常规标准'类型CIF文件。我要提取的是这种类型的CIF文件 图3 图4
所以我想知道是否有一种方法可以直接提取'常规标准'类型CIF文件,无论是使用matminer还是pymatgen..或有任何方法可以转换CIF文件将“集结”类型的类型为“常规标准”类型的CIF文件。
I use Matminer to get CIF file from Materials Project.The code is:
from matminer.data_retrieval.retrieve_MP import MPDataRetrieval
mpdr = MPDataRetrieval(api_key='My_key')
df = mpdr.get_dataframe(criteria='Mg2SiO4', properties=['cif'])
The CIF file I extracted from the above code is displayed on the webpage of the MP database as 'Cumputed'. Its structure in VESTA is shown in the following figure
figure 1figure 2
But I see that this is a 'Conventional Standard' type CIF file on the MP database website. What I want to extract is this type of CIF file
figure 3figure 4
So I wonder if there is a way to directly extract 'Conventional Standard' type CIF files, either with Matminer or with Pymatgen.Or is there any way to convert a CIF file of type 'Cumputed' into a CIF file of type 'Conventional Standard'.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论