View

Description

This view is loaded with a g-vector file from imageD11

Screen shot

By default, all expected h,k,l values are plotted in green.
If you choose check button "Show all gvectors", and you select grain# in list box, you may have all g-vectors in white color.

File description

Scattering vectors computed by the transformation module, normally via the guitransformer module... The first line of the file contains the unit cell parameters and lattice centering (one of P,A,B,C,I,F).
The wavelength and wedge angle are expected on the next lines (needed to compute ideal two theta, omega and azimuth angles for computed orientations).
A list of computed d* values expected h,k,l values for the unit cell follow. Note that d* is 1/d-spacing in Angstrom.
The actual scattering vectors follow.
  1. xr x-component of scattering vector (along the beam) with all angles at zero (units 1/Å)
  2. yr y-component of scattering vector (toward the door) with all angles at zero (units 1/Å)
  3. zr z-component of scattering vector (roughly up) with all angles at zero (units 1/Å)
  4. xc spatially corrected peak x-position on detector (units: pixels)
  5. yc spatially corrected peak y-position on detector (units: pixels)
  6. ds 1/d-spacing - modulus of scattering vector - ds = \frac{\lambda}{ 2 \sin \theta}
  7. phi azimuthal angle. Apologies for the typo, it should say eta.
  8. omega Rotation angle of scan

Here is a short sample of an g-vector file.
4.049750 4.049750 4.049750 90.000000 90.000000 90.000000 F
# wavelength = 0.153636
# wedge = 0.000000
# ds h k l
0.427693 -1 1 1
0.427693 -1 1 -1
0.427693 1 -1 1
0.427693 1 -1 -1
0.427693 -1 -1 -1
//
1.209699 -2 4 2
1.209699 -2 -2 4
# xr yr zr xc yc ds eta omega
-1.064488 0.487933 -0.303576 393.350339 967.555462 1.209699 255.401608 -59.865730 0
-0.647861 0.323941 0.382165 659.957013 791.719538 0.818970 297.876500 -59.355276 1
-0.694335 0.422749 -0.099470 473.489709 826.087974 0.818970 263.009860 -55.030765 2
0.277708 -0.258757 -0.586271 285.515284 366.081243 0.698420 147.207272 -52.688612 3
0.601890 -0.616322 -0.690907 242.754491 178.278465 1.104299 128.896483 -50.564083 4
//