ess.freia.maskings.add_roi_masks#

ess.freia.maskings.add_roi_masks(da, roi)[source]#

Mask events outside the ROI. When a coordinate with the same name exists both on the bins and on the events the method masks the event coordinate.

Return type:

DataArray