Skip to content

Lattice_vectors

Adrian Quintana edited this page Dec 11, 2017 · 1 revision

crystal_lattice_vectors

Purpose

This program is mainly used to precalculate where are we going to find the spots when indexing a crystal wit "spectra" or "imgdisp".

Usage


$ crystal_lattice_vector ...


Parameters

  • -lattice_a[[Xa],[ya]] Coordinates of the crystal vector a (the outer brakets[ and] are needed)
  • -lattice_b[[Xb],[yb]] Coordinates of the crystal vector b (the outer brakets[ and] are needed)
  • -crystal_size [size1024] = Size of the crystal, The actual value (in the same units as the lattice vectors) of the position of the spots in Fourier space depend on this size
  • -ang [rot0] [tilt=0] [psi=0] = Projection angles
  • -op [opRF] =
    • `` Real space to Fourier space
    • `` Projected space to Real space
    • `` Fourier space to Real space

Examples and notes

Input:


$ crystal_lattice_vectors  -lattice_a [64,0] -lattice_b [0,64]  -crystal_size 4000 -ang 0 10 0 -op RF


Output:


 a  =(64,0) (64)
 b  =(0,64) (64)
 ap =(63.0277,0) (63.0277)
 bp =(0,64) (64)
 ap*=(63.4642,0) (63.4642)
 bp*=(0,62.5) (62.5)
 Angle from ap* to bp*=90


--Main.AlfredoSolano - 30 Jan 2007

Clone this wiki locally