score_and_refine
score_and_refine(ubi, gv, tol)
Categories: Indexing, Scattering geometry
Layout: gv accepts (ng,3) AoS or (3,ng) SoA; ubi is a 3x3 matrix See AoS/SoA guide.
Description
is very similar to score but it also refines the UB matrix using the assigned peaks and overwrite the argument. It returns the number of peaks and fit prior to refinement.
Parameters
| Name | Description |
|---|---|
gv |
G-vectors array, shape (ng, 3) flattened. |
tol |
Matching tolerance on |
ubi |
Orientation matrix UBI (9-element flattened double). |
Constraints
ubi.format == 'd'ubi.n == 9gv.ndim == 2
Overloads
| C function | Condition |
|---|---|
score_and_refine_f64_soa_avx512 |
f64 SoA AVX-512 |
score_and_refine_f64_avx512 |
f64 AoS AVX-512 |
score_and_refine_f32_soa_avx512 |
f32 SoA AVX-512 |
score_and_refine_f32_avx512 |
f32 AoS AVX-512 |
score_and_refine_f64_soa_avx2 |
f64 SoA AVX2 |
score_and_refine_f64_avx2 |
f64 AoS AVX2 |
score_and_refine_f32_soa_avx2 |
f32 SoA AVX2 |
score_and_refine_f32_avx2 |
f32 AoS AVX2 |
score_and_refine_f64_sse41 |
f64 AoS SSE4.1 |
score_and_refine_f64_soa_sse41 |
f64 SoA SSE4.1 |
score_and_refine_f32_sse41 |
f32 AoS SSE4.1 |
score_and_refine_f32_soa_sse41 |
f32 SoA SSE4.1 |
score_and_refine_f64_soa |
f64 SoA |
score_and_refine_f64 |
f64 AoS |
score_and_refine_f32_soa |
f32 SoA |
score_and_refine_f32 |
f32 AoS |
score_and_refine |
f64 AoS |
Built from commit 7ba8255fa8d680e1a1df79e67aee3873247ce69c (v0.4.5)