Lattice Overlay

Keyboard and Mouse Interface

<Control>+Left Mouse Button Move Lattice Point
<Control>+<Shift>+Left Mouse Button Move Lattice Point with continuous peak fit
<Control>+Center Mouse Button Rotate Lattice
<Control>+Right Mouse Button Shift Origin
<Control>+<Shift>+Right Mouse Button Adjust lattice distortion
<Control>+<a> Define current lattice point as (1,0)
<Control>+<b> Define current lattice point as (0,1)
<Control>+<s> Swap a and b vectors
<Control>+<c> Set lattice point as origin
<Control>+<g> Perform peak fit on current lattice point
<Control>+<f> Fix new lattice (in edit mode)
<Control>+<r> Reject new lattice (in edit mode)
<Control>+<1> Set first anchor (default origin)
<Control>+<2> Set second anchor
<Control>+<o> Reset lattice offset to (0,0)
<Control>+<h> Set the size of the A or B vector to half it's original size

Python interface

SetLattice(lattice)

Set the lattice.

GetLattice()

Get the current lattice.

SetMinAngle(angle)

Set the minimum angle between a- and b-vector.

SetReferenceCell(unitcell)

Sets the reference unit cell to calculate the tilt geometry.

Images

Lattice Overlay showing a fitted lattice in red.

Back to Electron Crystallography Module overview

Attachments