ImageD11.scale | index /sware/exp/fable/standalone/redhate4-a64/lib/python2.5/site-packages/ImageD11/scale.py |
Class for scaling images with respect to each other due to moco
style instabilities.
Depends on there being a large background contribution to work with
Mathematically:
y = a * x + b
dy/da = x
dy/db = 1
Least squares problem with:
matrix = ( dy/da*dy/da , dy/da*dy/db)
( dy/da*dy/db , dy/db*dy/db)
rhs = ( dy/da*y )
( dy/db*y )
Has the option to use only pixels in the image to scale to which
are above a threshold (eg the central circle on the bruker)
Modules | ||||||
|
Classes | ||||||||
|
Functions | ||