fwd#
Forward-projection functions, that use the rest of anri to project peaks onto detector images.
Functions
|
Forward-project a reciprocal space vector (h,k,l) with basis vectors (a*, b*, c*) into k-vectors and omega angles. |
|
Generate the input variance-covariance matrix from your sigma values. |
|
Propagate an input covariance matrix with a Jacobian to yield an output covariance matrix. |
|
|
|
Vectorized version of _propagate. |
|
Vectorized version of _propagate. |
|
|
Vectorized version of _propagate. |
|
|
Vectorized version of _propagate. |
|
Forward project (ubi, hkl) to get 3D peak centroid on detector (sc, fc, omega) in the box-beam case. |
|
Vectorized version of get_centroid_box. |
|
Vectorized version of get_centroid_box. |
|
Forward project (ubi, hkl) to get 4D peak centroid (sc, fc, omega, dty) in the Scanning 3DXRD case. |
|
Vectorized version of get_centroid_scan. |
|
Vectorized version of get_centroid_scan. |
|
Precompute per-axis scaling factors for |
|
Integrated intensity of a multivariate Gaussian over an array of axis-aligned bins. |
|
Compute the intensity of a single Gaussian peak over a local pixel window. |
|