ess.isissans.sans2d.to_detector_masks#
- ess.isissans.sans2d.to_detector_masks(edge_mask, holder_mask)[source]#
Gather detector masks.
Unlike
ess.sans.masking.to_detector_mask()
, this function does not rely on mapping using a table of mask filenames. Instead it directly returns a dictionary if multiple masks.- Parameters:
edge_mask (
ess.isissans.sans2d.DetectorEdgeMask
(types.scipp._scipp.core.Variable | None
)) – Mask for detector edges.holder_mask (
ess.isissans.sans2d.SampleHolderMask
(types.scipp._scipp.core.Variable | None
)) – Mask for sample holder.
- Return type: