From f5d6af5374fa2d2700f4f065a5c997c8fbb5b16d Mon Sep 17 00:00:00 2001 From: Brianna Major Date: Tue, 8 Aug 2023 09:14:08 -0400 Subject: [PATCH] Mask with NaNs in the raw view as well Signed-off-by: Brianna Major --- hexrd/ui/hexrd_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hexrd/ui/hexrd_config.py b/hexrd/ui/hexrd_config.py index 381797aee..c296e41aa 100644 --- a/hexrd/ui/hexrd_config.py +++ b/hexrd/ui/hexrd_config.py @@ -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