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`
GetCrystalMetric
​
GetCrystalMetric
[{a,b,c,α,β,γ}]
returns the metric for the given lattice parameters
a,b,c,α,β,γ
.
​
​
GetCrystalMetric
[G]
returns desired metric information based on
G
.
​
​
GetCrystalMetric
[crystal]
returns the metric for
crystal
.
​
Details and Options

Examples  
(7)
Basic Examples  
(4)
In[1]:=
GetCrystalMetric
[{15.98,15.98,5.582,90,90,120}]
Out[1]=
{{255.36,-127.68,0.},{-127.68,255.36,0.},{0.,0.,31.1587}}
​
In[1]:=
GetCrystalMetric
["Silicon"]
Out[1]=
{{29.4945,0.,0.},{0.,29.4945,0.},{0.,0.,29.4945}}
In[2]:=
GetCrystalMetric
["OxalicAcid"]
Out[2]=
{{37.4593,0.,-20.7283},{0.,13.0184,0.},{-20.7283,0.,145.434}}
​
The volume of the unit cell can be easily calculated (unit:
3
Å
):
In[1]:=
Sqrt@Det@
GetCrystalMetric
["Silicon"]
Out[1]=
160.181
​
In[1]:=
parameters=
$CrystalData
["Quartz","LatticeParameters"]
Out[1]=
a
4.914
Å
,b
4.914
Å
,c
5.406
Å
,α
90
°
,β
90
°
,γ
120
°

In[2]:=
GetCrystalMetric
@parameters
Out[2]=
{{24.1474,-12.0737,0.},{-12.0737,24.1474,0.},{0.,0.,29.2248}}
Options  
(2)

Applications  
(1)

SeeAlso
$CrystalData
 
▪
CrystalDensity
 
▪
AttenuationCoefficient
 
▪
ReflectionList
 
▪
StructureFactor
 
▪
StructureFactorTable
 
▪
EmbedStructure
 
▪
DistortStructure
RelatedGuides
▪
MaXrd – Mathematica X-ray diffraction package
""

© 2025 Wolfram. All rights reserved.

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