ImageD11.ubitool
index
/sware/exp/fable/standalone/redhate4-a64/lib/python2.5/site-packages/ImageD11/ubitool.py

Tools for processing UBI matrices together with data
 
Uses indexing objects to do refinement
 
Mostly unimplemented dummies - see also refinegrains

 
Modules
       
numpy.oldnumeric

 
Classes
       
ubitool

 
class ubitool
     Methods defined here:
__init__(self, ubilist=None, ubifile=None, obsdata=None)
get_orientation(self, ubi=None)
Give orientation matrix independant of unit cell
get_unit_cell(self, ubi=None)
Convert UBI representation to give unit cell
read_ubi_file(self, filename)
Get ubi matrices from a file
refine_translations(self, ubi=None)
Compute an offset in x/y/z for the origin of
the grain with respect to the centre of rotation
validate_peak_assignements(self)
Make sure each hkl is only assigned to one peak.
Offer to merge if there are duplicates
validate_ubi(self, ubi=None)
Find the number of peaks versus hkl_tol when refining
This should plateau when the tolerance is correct and the
data are good enough.
validate_ubi_collection(self)
Check for duplicate orientations