Class handling .cif formatted files

The @cif class enables easy access to the crystallographic data stored in .cif files.
1K download
Aggiornato 15 giu 2016

Visualizza la licenza

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

Cita come

Sandor Toth (2025). Class handling .cif formatted files (https://it.mathworks.com/matlabcentral/fileexchange/43266-class-handling-cif-formatted-files), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2014b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Condensed Matter & Materials Physics in Help Center e MATLAB Answers

Community Treasure Hunt

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

Start Hunting!

cif/cif/@cif/

Versione Pubblicato Note della release
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