Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

MaXrd

Guides

  • MaXrd – Mathematica X-ray diffraction package

Tech Notes

  • Applying crystal data
  • Basic computations
  • Computations on reflections
  • Formulas in crystallography
  • Importing crystal data
  • Quick guide to conditions
  • References
  • Symmetry calculations
  • The association structure of crystallographic data
  • Using the rotation options

Symbols

  • AttenuationCoefficient
  • BraggAngle
  • ConstructDomains
  • CrystalDensity
  • CrystalFormulaUnits
  • CrystalPlot
  • DarwinWidth
  • DistortStructure
  • DomainPlot
  • EmbedStructure
  • ExpandCrystal
  • ExportCrystalData
  • ExtinctionLength
  • FindPixelClusters
  • GetAtomCoordinates
  • GetAtomicScatteringFactors
  • GetCrystalMetric
  • GetElements
  • GetLatticeParameters
  • GetLaueClass
  • GetScatteringCrossSections
  • GetSymmetryData
  • GetSymmetryOperations
  • ImportCrystalData
  • InputCheck
  • InterplanarSpacing
  • MergeDomains
  • MergeSymmetryEquivalentReflections
  • MillerNotationToList
  • MillerNotationToString
  • ReciprocalImageCheck
  • ReciprocalSpaceSimulation
  • ReflectionList
  • RelatedFunctionsGraph
  • ResetCrystalData
  • ResizeStructure
  • SimulateDiffractionPattern
  • StructureFactor
  • StructureFactorTable
  • SymmetryEquivalentPositions
  • SymmetryEquivalentReflections
  • SymmetryEquivalentReflectionsQ
  • SynthesiseStructure
  • SystematicAbsentQ
  • ToStandardSetting
  • TransformAtomicDisplacementParameters
  • UnitCellTransformation
  • $CrystalData
  • $GroupSymbolRedirect
  • $LaueClasses
  • $MaXrdPath
  • $MaXrdVersion
  • $PeriodicTable
  • $PointGroups
  • $SpaceGroups
  • $TransformationMatrices
StianRamsnes`MaXrd`
ImportCrystalData
​
ImportCrystalData
[cif]
extracts information from a
cif
file and stores the data in
$CrystalData
under the
cif
file name.
​
​
ImportCrystalData
[cif,label]
extracts information from a
cif
file and stores the data in
$CrystalData
under
label
.
​
​
ImportCrystalData
[{label,formula,Z,sg,λ},lattice,atomData,notes]
stores the data in
$CrystalData
under
label
.
​
​
ImportCrystalData
[]
opens a dialogue for entering the data.
​
Details and Options

Examples  
(6)
Basic Examples  
(1)
Example .cif files:
In[1]:=
demoCIFs=FileNames"*.cif",FileNameJoin
$MaXrdPath
,"Kernel","Data","ExampleFiles","CIF";
A random sample file:
In[2]:=
randomfile=RandomChoice@demoCIFs;
In[3]:=
ImportCrystalData
[randomfile,"TestInput"]
Out[3]=
ChemicalFormula
C
13
H
22
Fe
N
6
S
3
,FormulaUnits6,SpaceGroupR
3
c,LatticeParametersa
16.3249
Å
,b
16.3249
Å
,c
12.4163
Å
,α
90
°
,β
90
°
,γ
120
°
,Wavelength
0.69804
Å
,AtomData{8}
Scope  
(1)

Options  
(4)

SeeAlso
$CrystalData
 
▪
ResetCrystalData
 
▪
StructureFactor
 
▪
UnitCellTransformation
 
▪
ExpandCrystal
 
▪
CrystalPlot
 
▪
ToStandardSetting
 
▪
GetSymmetryData
 
▪
GetLatticeParameters
RelatedGuides
▪
MaXrd – Mathematica X-ray diffraction package
""

© 2025 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com