to_mask#
- DiffractionVectors.to_mask(disk_r, signal_axes=None)[source]#
Convert the diffraction vectors to a N-D mask.
This can be useful for Orientation Mapping including the fitting of mulitple phases.
- Parameters:
disk_r (float) – The radius of the disk to be used for the mask.
signal_axes (list) – The signal axes to be used for the mask. If None, the axes saved in the metadata will be used. (if available)