Computes G (real→reciprocal) and F (reciprocal→real) metric tensors for any crystal system, plus unit cell volume. Ref: Crystallography (Bhadeshia, 2018), Ch. 9, p. 142.
G — Real → Reciprocal space
[
]
F — Reciprocal → Real space
[
]
D-Spacing Calculator
Generates an ordered list of interplanar spacings d(hkl), accounting for systematic absences from the lattice type.
#
h
k
l
d (Å)
1/d (Å⁻¹)
|hkl|²
Angle Between Vectors
Calculates the angle between two lattice vectors. Real space [uvw] and reciprocal space (hkl) can be freely mixed.
VECTOR 1
Real [uvw]
Reciprocal (hkl)
VECTOR 2
Real [uvw]
Reciprocal (hkl)
Real ↔ Reciprocal Space Conversion
Converts vector components between real and reciprocal space using the metric tensor (F = G⁻¹). A real-space direction [uvw] is parallel to the reciprocal-space plane normal (hkl) when h·F·h = u·G·u and they share the same zone axis. Enter a vector and choose the conversion direction.
Real [uvw] → find (hkl)
Reciprocal (hkl) → find [uvw]
Axis-Angle Pairs (Cubic)
Calculates the rotation axis [uvw] and angle θ relating two cubic crystals, given two pairs of parallel vectors. Also generates all 23 symmetry-equivalent descriptions. Ref: Geometry of Crystals, Bhadeshia, pp. 18–21, 79 (Example 25). MAP_CRYSTAL_ROTAT
Vectors 1A & 2A from Crystal A · Vectors 1B & 2B from Crystal B · Angle between 2A & 2B required
Crystal A
Crystal B
Four Index Notation
Converts between three-index and four-index notation for the hexagonal system. Plane normals use Miller-Bravais (hkil) where i = −(h+k). Directions use Weber notation [uvtw] where t = −(u+v)/3. Ref: Bhadeshia, Microstructural Characterisation, 1988, Appendix 2. MAP_CRYSTAL_NOTAT1/2
Upload a diffraction pattern image (JPG, PNG, BMP, TIF). Detected spots are circled automatically with their estimated radii. Step 1: click the central beam (transmitted beam) to set the pattern centre. Step 2: click two or more diffraction spots — sub-pixel centroids are computed automatically from the intensity distribution.
⬆
DROP IMAGE HERE
or click to browse — JPG · PNG · BMP · TIF
Pattern Image
Click the central beam to set the pattern centre
Spot sensitivity:1.2
MEASURED SPOT DISTANCES FROM CENTRE
r₁ (px)
—
r₂ (px)
—
r₃ (px)
—
r₄ (px)
—
r₁ / r₂ (primary pair)
—
Angle r₁–r₂ (°)
—
ALL MEASURED PAIRS
Each pair is an independent constraint for the solver
Pair
rᵢ (px)
rⱼ (px)
rᵢ/rⱼ ratio
Angle (°)
💡 Click r₃ and/or r₄ to add more independent spot pairs. Each additional pair provides an extra constraint — the solver finds solutions consistent with all pairs simultaneously.
d₁
—
d₂
—
Step 2 — Pattern Solver
Camera Constant
Known — enter d-spacings
Unknown — enter ratio only
Common Steel & Related Phases — select to load
Measured Spot Data
Measured Spot Data — ratio mode
Matches ratio of reciprocal vector lengths and angle. Assume Primitive (P) if lattice type unknown.
Search Options
Typical 0.03 (3%)
h,k,l = 0…N (typical: 3)
Unique zone axes (slower)
Prefer simpler (lower hkl) solutions when match % is close
Crystal 1 — ranked by closeness of match ↑
Index using zone axis:
Rank
(hkl)₁
d₁ (Å)
(hkl)₂
d₂ (Å)
d₁/d₂
Zone Axis [uvw]
Angle (°)
Match
Solve the same diffraction pattern for a second (or third) crystal phase
Coordinate Transformation Matrix
Computes the (J₂/J₁) transformation matrix relating two crystals from two pairs of parallel vectors. Useful for orientation relationships. Ref: Crystallography (Bhadeshia, 2018), Ch. 7, pp. 109–113