Wolfram Language
Paclet Repository
Community-contributed installable additions to the Wolfram Language
Primary Navigation
Categories
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
Create a Paclet
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`
E
m
b
e
d
S
t
r
u
c
t
u
r
e
E
m
b
e
d
S
t
r
u
c
t
u
r
e
[
g
u
e
s
t
U
n
i
t
s
,
t
a
r
g
e
t
P
o
s
i
t
i
o
n
s
,
h
o
s
t
C
r
y
s
t
a
l
]
e
m
b
e
d
s
g
u
e
s
t
U
n
i
t
s
a
t
t
a
r
g
e
t
P
o
s
i
t
i
o
n
s
i
n
t
o
h
o
s
t
C
r
y
s
t
a
l
.
D
e
t
a
i
l
s
a
n
d
O
p
t
i
o
n
s
Examples
(
1
2
)
Basic Examples
(
4
)
In this example we embed a single iron atom into
Ice
. Let use place it at
(
0
.
5
,
0
.
5
,
0
.
5
)
in the ice structure.
I
n
[
1
]
:
=
E
m
b
e
d
S
t
r
u
c
t
u
r
e
[
{
"
F
e
"
}
,
{
{
0
.
5
,
0
.
5
,
0
.
5
}
}
,
"
I
c
e
"
,
"
N
e
w
L
a
b
e
l
"
"
I
r
o
n
I
c
e
"
]
O
u
t
[
1
]
=
I
r
o
n
I
c
e
We can use
C
r
y
s
t
a
l
P
l
o
t
to visualise the new structure:
I
n
[
2
]
:
=
C
r
y
s
t
a
l
P
l
o
t
[
"
I
r
o
n
I
c
e
"
,
V
i
e
w
P
o
i
n
t
{
0
.
0
,
-
4
.
8
,
3
.
4
}
]
O
u
t
[
2
]
=
Note that we have embedded iron into the asymmetric unit of
Ice
(consisting of five atoms). If we wanted to put it in an ice network/structure, we could have used
E
x
p
a
n
d
C
r
y
s
t
a
l
on
Ice
beforehand.
I
n
[
1
]
:
=
C
r
y
s
t
a
l
P
l
o
t
@
E
m
b
e
d
S
t
r
u
c
t
u
r
e
[
{
"
G
a
l
l
i
u
m
A
r
s
e
n
i
d
e
"
}
,
{
{
0
.
7
5
,
0
.
7
5
,
0
.
7
5
}
}
,
"
S
o
d
a
l
i
t
e
"
,
"
N
e
w
L
a
b
e
l
"
"
D
e
m
o
S
t
r
u
c
t
u
r
e
"
]
O
u
t
[
1
]
=
I
n
[
1
]
:
=
C
r
y
s
t
a
l
P
l
o
t
E
m
b
e
d
S
t
r
u
c
t
u
r
e
{
"
F
e
"
,
"
T
c
"
,
"
N
i
"
}
,
{
{
1
/
2
,
1
/
2
,
1
/
2
}
}
,
E
x
p
a
n
d
C
r
y
s
t
a
l
[
"
S
i
l
i
c
o
n
"
,
{
3
,
3
,
3
}
]
,
"
N
e
w
L
a
b
e
l
"
"
D
e
m
o
S
t
r
u
c
t
u
r
e
"
,
V
i
e
w
P
o
i
n
t
L
e
f
t
O
u
t
[
1
]
=
The units to be embedded can be placed according to coordinate patterns.
I
n
[
1
]
:
=
C
r
y
s
t
a
l
P
l
o
t
E
m
b
e
d
S
t
r
u
c
t
u
r
e
{
{
x
_
,
y
_
,
z
_
}
/
;
O
d
d
Q
@
I
n
t
e
g
e
r
P
a
r
t
[
x
+
y
]
"
N
i
"
,
{
x
_
,
y
_
,
z
_
}
/
;
T
r
u
e
"
F
e
"
}
,
{
{
1
/
3
,
2
/
3
,
0
.
5
}
}
,
E
x
p
a
n
d
C
r
y
s
t
a
l
[
"
I
c
e
"
,
{
5
,
4
,
1
}
]
,
"
N
e
w
L
a
b
e
l
"
"
A
l
t
e
r
n
a
t
i
n
g
N
i
c
k
e
l
I
c
e
"
,
"
U
n
i
t
C
e
l
l
D
i
s
p
l
a
y
"
"
N
o
n
e
"
O
u
t
[
1
]
=
Distortions and rotations can also be performed according to user specified conditions:
I
n
[
2
]
:
=
C
r
y
s
t
a
l
P
l
o
t
E
m
b
e
d
S
t
r
u
c
t
u
r
e
{
{
x
_
,
y
_
,
z
_
}
/
;
O
d
d
Q
@
I
n
t
e
g
e
r
P
a
r
t
[
x
+
y
]
"
N
i
"
,
{
x
_
,
y
_
,
z
_
}
/
;
T
r
u
e
"
F
e
"
}
,
{
{
1
/
3
,
2
/
3
,
0
.
5
}
}
,
E
x
p
a
n
d
C
r
y
s
t
a
l
[
"
I
c
e
"
,
{
5
,
4
,
1
}
]
,
"
N
e
w
L
a
b
e
l
"
"
A
l
t
e
r
n
a
t
i
n
g
N
i
c
k
e
l
I
c
e
"
,
"
D
i
s
t
o
r
t
i
o
n
s
"
{
{
x
_
,
y
_
,
z
_
}
/
;
x
>
1
&
&
y
>
2
{
0
,
0
,
8
}
}
,
"
U
n
i
t
C
e
l
l
D
i
s
p
l
a
y
"
"
N
o
n
e
"
,
V
i
e
w
P
o
i
n
t
{
0
.
,
-
4
.
4
,
3
.
}
One can also supply discrete values to the permutation options ("Distortions", "Rotations") like this:
The permutation options can also be used to filter by entity label:
One can also make the distortions occur randomly, in addition to randomising the distortion amplitudes: