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`
ReflectionList
​
ReflectionList
[n]
generates a list of all possible
{h,k,l}
combinations up to an integer
n
.
​
​
ReflectionList
[n,condition]
generates a list of all possible
{h,k,l}
combinations up to an integer
n
that also satisfies
condition
.
​
​
ReflectionList
[crystal]
generates a list of reflections for the given
crystal
and the corresponding wavelength stored in
$CrystalData
.
​
​
ReflectionList
[crystal,λ]
generates a list of reflections for the given
crystal
and wavelength
λ
.
​
​
ReflectionList
[crystal,λ,condition]
generates a list of reflections for the given
crystal
and wavelength
λ
, also taking
condition
into account.
​
Details and Options

Examples  
(15)
Basic Examples  
(4)
In[1]:=
ReflectionList
[1]
Out[1]=
{{0,0,1},{0,1,0},{1,0,0},{0,0,-1},{0,-1,0},{-1,0,0},{0,1,1},{1,0,1},{1,1,0},{0,1,-1},{1,0,-1},{0,-1,1},{1,-1,0},{0,-1,-1},{-1,0,1},{-1,1,0},{-1,0,-1},{-1,-1,0},{1,1,1},{1,1,-1},{1,-1,1},{1,-1,-1},{-1,1,1},{-1,1,-1},{-1,-1,1},{-1,-1,-1}}
​
In[1]:=
Short
ReflectionList
[3],5
Out[1]//Short=
{{0,0,1},{0,1,0},{1,0,0},{0,0,-1},{0,-1,0},{-1,0,0},{0,0,2},{0,1,1},{0,2,0},{1,0,1},{1,1,0},{2,0,0},{0,0,-2},316,{-3,-2,3},{-2,-3,3},{-3,-3,-2},{-3,-2,-3},{-2,-3,-3},{3,3,3},{3,3,-3},{3,-3,3},{3,-3,-3},{-3,3,3},{-3,3,-3},{-3,-3,3},{-3,-3,-3}}
In[2]:=
MemberQ
ReflectionList
[3],{0,0,0}
Out[2]=
False
​
In[1]:=
ReflectionList
["SodiumChloride",1.23]
Out[1]=
{{0,0,2},{1,1,1},{0,0,4},{0,2,2},{1,1,3},{0,0,6},{0,2,4},{2,2,2},{1,1,5},{1,3,3},{0,2,6},{0,4,4},{2,2,4},{1,3,5},{3,3,3},{0,4,6},{2,2,6},{2,4,4},{1,5,5},{3,3,5},{2,4,6},{4,4,4},{3,5,5}}
​
In[1]:=
ReflectionList
["Silicon",0.789,{h_,k_,l_}/;h+kl]
Out[1]=
{{0,2,2},{0,4,4},{2,2,4},{0,6,6},{2,4,6},{0,8,8},{2,6,8},{4,4,8}}
Options  
(10)

Possible Issues  
(1)

SeeAlso
$CrystalData
 
▪
SystematicAbsentQ
 
▪
StructureFactor
 
▪
SymmetryEquivalentReflectionsQ
 
▪
ToStandardSetting
 
▪
MergeSymmetryEquivalentReflections
 
▪
StructureFactorTable
 
▪
ReciprocalSpaceSimulation
 
▪
GetCrystalMetric
RelatedGuides
▪
MaXrd – Mathematica X-ray diffraction package
""

© 2025 Wolfram. All rights reserved.

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