Class handling .cif formatted files

版本 1.3.0.0 (8.8 KB) 作者: Sandor Toth
The @cif class enables easy access to the crystallographic data stored in .cif files.
939.0 次下载
更新时间 2016/6/15

查看许可证

Matlab class handling .cif data. It simply reads a .cif file into a Matlab class making accessible all fields stored in the .cif fil. Access to any field of the .cif file is possible simply using the Matlab .(dot) notation.
Example:
MyCifFile = cif('file.cif');
lattice_par = [MyCifFile.cell_length_a MyCifFile.cell_length_b MyCifFile.cell_length_c];
The above example extracts the lattice parameters from a .cif file.

For the .cif file format specification see:
http://www.iucr.org/resources/cif

引用格式

Sandor Toth (2024). Class handling .cif formatted files (https://www.mathworks.com/matlabcentral/fileexchange/43266-class-handling-cif-formatted-files), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2014b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Condensed Matter & Materials Physics 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

cif/cif/@cif/

版本 已发布 发行说明
1.3.0.0

Added fieldnames() function and able to load .cif file from the given URL.

1.2.0.0

Small bug fixes.

1.0.0.0