refine_assigned
refine_assigned(ubi, gv, labels, label)
Categories: Indexing
Description
fits a ubi matrix to a set of g-vectors and assignments in labels. e.g. where(labels==label) it uses the peaks. ... perhaps this is not what you want for overlapping peaks in twins!
Parameters
| Name | Description |
|---|---|
gv |
G-vectors array, shape (ng, 3) flattened. |
label |
Grain label to refine. |
labels |
Peak-to-grain assignments (ng ints). |
ubi |
Orientation matrix (9-element flattened double). |
Constraints
ubi.format == 'd'ubi.n == 9gv.format == 'd'( labels.format == 'i' or labels.format == 'l' )labels.n == gv.shape[0]
Overloads
| C function | Condition |
|---|---|
refine_assigned |
always |
Built from commit 7ba8255fa8d680e1a1df79e67aee3873247ce69c (v0.4.5)