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. |
|
Get output covariance matrix for a given forward-projected box-beam peak. |
|
Vectorized version of propagate_cov_box. |
|
Vectorized version of propagate_cov_box. |
|
Get output covariance matrix for a given forward-projected Scanning 3DXRD peak. |
|
Vectorized version of propagate_cov_scan. |
|
Vectorized version of propagate_cov_scan. |
|
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. |
|
Get squared Mahalanobis distance for a coordinate given a centroid and an inverse covariance matrix. |
|
Evaluate probability density of Mahalanobis distance. |
|
Get inverse covariance matrix and normalisation constant for |
|
Get N*(window_size,) image of normalised pixel intensities around centroid in N dimensions. |
|
Vectorized version of peak_to_pixels. |