tof.utils.one_mask#

tof.utils.one_mask(masks, unit=None)[source]#

Combine multiple masks into a single mask.

Parameters:
  • masks (mappingproxy[str, Variable]) – The masks to combine.

  • unit (Optional[str], default: None) – The unit of the output mask.

Return type:

Variable