If you use a mask with the DPC widget you get the following error:
Traceback (most recent call last): File "/dls_sw/e02/software/epsic_tools/epsic_tools/mib2hdfConvert/MIB_convert_widget/scripts//py4DSTEM_virtual_image.py", line 159, in <module> mask = np.invert(mask) TypeError: ufunc 'invert' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
Need to safely change mask dtype to binary before this.
If you use a mask with the DPC widget you get the following error:
Traceback (most recent call last): File "/dls_sw/e02/software/epsic_tools/epsic_tools/mib2hdfConvert/MIB_convert_widget/scripts//py4DSTEM_virtual_image.py", line 159, in <module> mask = np.invert(mask) TypeError: ufunc 'invert' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''Need to safely change mask dtype to binary before this.