Skip to content

Commit

Permalink
Mask with NaNs in the raw view as well
Browse files Browse the repository at this point in the history
Signed-off-by: Brianna Major <[email protected]>
  • Loading branch information
bnmajor committed Aug 8, 2023
1 parent 6cbdb4d commit f5d6af5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hexrd/ui/hexrd_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -889,7 +889,7 @@ def masked_images_dict(self):
for det, mask in self.raw_masks_dict.items():
for name, img in images_dict.items():
if det == name:
img[~mask] = 0
img[~mask] = np.nan

return images_dict

Expand Down

0 comments on commit f5d6af5

Please sign in to comment.