Transformer is a program written in python by Jon Wright(esrf.eu) to calibrate sample-detector distance , detector tilts and beam center with filtered peaks and generate gve vector files.

Calibration

To calibrate data, transformer load a parameter file. Here is a list of values and their description in a parameter file:
optiondescription
cell__a unit cell parameters, same units as wavelength, the lattice centering using the first letter of the space group symbol
cell__bunit cell parameters, same units as wavelength
cell__cunit cell parameters, same units as wavelength
cell_alphaunit cell parameters, degree
cell_betaunit cell parameters, degree
cell_gammaunit cell parameters, degree
cell_lattice_[P,A,B,C,I,F,R]lattice centering type. Try P if you are not sure
distancesample detector distance, same units as pixel size
fit_tolerancetolerance to decide which peaks to use. The fit tolerance is the difference in degrees between observed and computed peak positions to use in parameter refinement
o11detector flip element +1 for frelon & quantix
o12detector flip element 0 for frelon & quantix
o21detector flip element 0 for frelon & quantix
o22detector flip element -1 for frelon & +1 for quantix
omegasignSign of the rotation about z (normally +1 for right handed)
t_xcrystal translation, units as distance/pixels
t_ycrystal translation, units as distance/pixels
t_zcrystal translation, units as distance/pixels
tilt_zdetector tilt, right handed around z (The tilts are in radians about the y/z axes in the ID11 co-ordinate system )
tilt_xdetector tilt, right handed around x
tilt_ydetector tilt, right handed around y
wavelengthwavelength, normally angstrom same as units unit cell
y-centerBeam centre in horizontal, pixels.The position of the beam centre and pixel sizes are used to transform the spatially corrected peak positions into real space peaks positions. You MUST use the values for pixel size recorded in the spline file if you have made a spatial distortion for things to work out properly.
y-sizepixel size in horizontal, same units as distance
z-centerBeam centre in vertical, pixels
z-sizepixel size in vertical, same units distance
wedge wedge, rotation around y under omega
chi wedge, rotation around x under omega
no_bins Number of bins to use in histogram based filters
min_bin_probNumber of bins to use in histogram based filters

Functionalities

  1. Compute tth eta
  2. Add unit cell peaks
  3. tth Histogram
  4. Fit
  5. compute g-vector
  6. save g-vector
  7. save filtered peaks

ImageD11

ImageD11 is a software package for analysis of 2D diffraction images. The package includes:
  1. Peaksearch,
  2. transformer used to calibrate and to compute g-vectors,
  3. fitgrain to refine of diffractometer geometry,
  4. filtergrain to indexing grains
  5. fft_index.py to index large unit cells,
  6. Some useful tools like edf2bruker.py and bgmaker.py,
  7. and fit2cake to carry out radial integration of series of images.