Skip to content

Using masks with DPC widget #78

Description

@M0hsend

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions