Keeping not_indexed dummy phase after orientation refinement #621
Answered
by
hakonanes
Erlendos12
asked this question in
Q&A
-
Hough indexing may assign the dummy phase "not_indexed". How would I keep (or deal with it) when refining orientations? I have explored 3 alternatives where neither works.
ref_xmap.phases.add_not_indexed()
if not xmap.all_indexed:
for x in range(xmap.shape[0]):
for y in range(xmap.shape[1]):
if not xmap[x,y].is_indexed.any():
print("Adding not indexed")
ref_xmap[x,y].phase_id = -1 I know this is more related to orix than kikuchipy, but any ideas on how to keep not_indexed phase in the refined crystal map? |
Beta Was this translation helpful? Give feedback.
Answered by
hakonanes
Mar 9, 2023
Replies: 1 comment 1 reply
-
Good question. I'd consider this a bug in kikuchipy, and we need to somehow bring along the "not indexed" points when merging multiple refined crystal maps. Let's continue the discussion in an issue. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Erlendos12
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Good question. I'd consider this a bug in kikuchipy, and we need to somehow bring along the "not indexed" points when merging multiple refined crystal maps. Let's continue the discussion in an issue.