- The following tags are supported: {$CellLengthA}, {$CellLengthB}, {$CellLengthC}, {$CellAngleAlpha}, {$CellAngleBeta}, {$CellAngleGamma}, {$CellVolume}, {$CellMeasurementReflnsUsed}, {$CellMeasurementThetaMin}, {$CellMeasurementThetaMax}, {$ChemicalFormulaSum}, {$Zprime}, {$CellFormulaUnitsZ}, {$ChemicalFormulaWeight}, {$SpaceGroupCrystalSystem}, {$SpaceGroupNameHMAlt}, {$ExptlCrystalSizeMax}, {$ExptlCrystalSizeMid}, {$ExptlCrystalSizeMin}, {$ExptlCrystalColour}, {$ExptlCrystalDescription}, {$ExptlCrystalF000}, {$ExptlCrystalDensityDiffrn}, {$DiffrnReflnsThetaMin}, {$DiffrnReflnsThetaMax}, {$DiffrnMeasuredFractionThetaFull}, {$DiffrnRadiationWavelength}, {$DiffrnRadiationTube}, {$DiffrnRadiationTubeLine}, {$DiffrnAmbientTemperature}, {$ExptlAbsorptCoefficientMu}, {$DiffrnMeasurementDeviceType}, {$ExptlAbsorptCorrectionTMin}, {$ExptlAbsorptCorrectionTMax}, {$DiffrnReflnsLimitHMin}, {$DiffrnReflnsLimitHMax}, {$DiffrnReflnsLimitKMin}, {$DiffrnReflnsLimitKMax}, {$DiffrnReflnsLimitLMin}, {$DiffrnReflnsLimitLMax}, {$DiffrnReflnsNumber}, {$ReflnsNumberTotal}, {$ReflnsNumberGt}, {$DiffrnReflnsAvREquivalents}, {$SinThetaPerLambda}, {$RefineLsRFactorGt}, {$RefineLsWrFactorRef}, {$RefineLsGoodnessOfFitRef}, {$RefineLsWeightingDetailsP}, {$RefineLsWeightingDetailsP2}, {$RefineLsShiftPerSuMax}, {$RefineDiffDensityMax}, {$RefineDiffDensityMin}, {$RefineLsNumberReflns}, {$RefineLsNumberParameters}, {$RefineLsNumberRestraints}, {$RefineLsAbsStructureFlack}.
- HTML mode takes tags in the format of {$mytag}, LaTeX mode requires tags in the format of <!--{$mytag}-->. This is necessary as curly braces are part of LaTeX standard syntax.
- If _space_group_name_H-M_alt is not set within the CIF, it will automatically look for _symmetry_space_group_name_H-M. If _space_group_crystal_system is not found, it'll look for _symmetry_cell_setting.
- Z' is calculated as Z' = Z / M where M is the multiplicity of a general position within the respective space group. The script looks for the space group number _space_group_IT_number.
- This was tested on my CIFs. Surely, you will come up with many examples where things don't work or CIF items can't be identified. Feel free to send me your CIFs in order to make the script compatible. Also, let me know if you need more CIF items/tags.
CIF Parser
https://xraytools.com/cifparse
Reads a CIF and lays its crystallographic data out through a template, ready to paste into a manuscript or a thesis.
- You supply
- A CIF file, and a choice of HTML or LaTeX output.
- Reading it
- The result is shown both formatted and as source you can copy. The template is editable and can be re-submitted, so the table can be made to match a journal’s house style.
Next on the path: Interatomic Distances and Angles On How to read a published structure, step 1 of 4
Terms here: general position · multiplicity
See also: HKL Calculator · Crystal Density Calculator · Interatomic Distances and Angles · Refinement Statistics and R Factors
Teaching with this page
- Objective
- After this page a learner can find the cell, the symmetry and the refinement table in a CIF and say what each item is.
- Ask first
- A CIF gives a cell edge as 5.6400(3) Å. What is the 3?
- Watch for
- “How many decimal places can be trusted”
- Then
- Interatomic Distances and Angles
Check yourself: A CIF gives a cell edge as 5.6400(3) Å. What is the 3?
The standard uncertainty, on the last digits quoted How many decimal places can be trusted
The bracketed figure is the standard uncertainty carried on the trailing digits, so this cell edge is 5.6400 ± 0.0003 Å. It is not a digit count and it is not a bound: it is one standard deviation from the refinement, which is why comparing two quantities means comparing their difference against both of theirs.
Input
Where this comes from
- The crystallographic information file (CIF): a new standard archive file for crystallography
S. R. Hall, F. H. Allen and I. D. Brown, Acta Cryst. A 1991, 47, 655–685 · doi:10.1107/S010876739101067X
The format this page reads. The loop, the data name and the quoting rules a parser has to get right are all defined here — and the loop is the part a line-by-line reader gets wrong.