We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a10a15f + 7af78df commit 84e3aaaCopy full SHA for 84e3aaa
hexrdgui/hexrd_config.py
@@ -971,10 +971,12 @@ def intensity_corrected_images_dict(self):
971
# (such as polar or stereo)
972
if HexrdConfig().apply_median_filter_correction:
973
for name, img in images_dict.items():
974
+ # Since this is memoized, make a copy so we won't modify
975
+ # the original.
976
images_dict[name] = medfilt2d_memoized(
977
img,
978
kernel_size=HexrdConfig().median_filter_kernel_size
- )
979
+ ).copy()
980
981
# Create this corrections dict, even if we don't use it, because
982
# it updates the `intensity_corrections_dict` that may be used
0 commit comments