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`
UnitCellTransformation
​
UnitCellTransformation
[crystal,
setting
i

value
i
,…]
transforms the unit cell of
crystal
according to the given settings.
​
​
UnitCellTransformation
[crystal,group]
transforms the unit cell of
crystal
to the target space group
group
.
​
Details and Options

Examples  
(7)
Basic Examples  
(1)
Let us import data on the crystal ferrocene:
In[1]:=
cif=FileNameJoin
$MaXrdPath
,"Kernel","Data","ExampleFiles","CIF","Ferrocene.cif";​​
ImportCrystalData
[cif]
Out[1]=
ChemicalFormula
C
10
H
10
Fe,FormulaUnits2,SpaceGroup
P2
1
/n,LatticeParametersa
5.9285
Å
,b
7.612
Å
,c
9.041
Å
,α
90
°
,β
93.156
°
,γ
90
°
,Wavelength
0.69804
Å
,AtomData{11}
Specify the transformation by the unique axis and cell choice of the target cell:
In[2]:=
UnitCellTransformation
["Ferrocene","UniqueAxis""a","CellChoice"2]
Out[2]=
ChemicalFormula
C
10
H
10
Fe,FormulaUnits2,SpaceGroupP 21/n 1 1,LatticeParametersa
7.612
Å
,b
9.041
Å
,c
5.9285
Å
,α
93.156
°
,β
90
°
,γ
90
°
,Wavelength
0.69804
Å
,AtomData{11}
We can also enter the target space group, for example
P
2
1
/c
:
In[3]:=
UnitCellTransformation
["Ferrocene","
P2
1
/c"]
Out[3]=
ChemicalFormula
C
10
H
10
Fe,FormulaUnits2,SpaceGroup
P2
1
/c,LatticeParametersa
9.041
Å
,b
7.612
Å
,c
10.5349
Å
,α
90
°
,β
145.813
°
,γ
90
°
,Wavelength
0.69804
Å
,AtomData{11}
Scope  
(3)

Options  
(1)

Possible Issues  
(1)

Interactive Examples  
(1)

SeeAlso
$CrystalData
 
▪
$TransformationMatrices
 
▪
ToStandardSetting
 
▪
GetSymmetryData
 
▪
GetCrystalMetric
 
▪
$SpaceGroups
 
▪
GetLatticeParameters
RelatedGuides
▪
MaXrd – Mathematica X-ray diffraction package
""

© 2025 Wolfram. All rights reserved.

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