combine_masks#
- astropy.utils.masked.combine_masks(masks, *, out=None, where=True, copy=True)[source]#
 Combine masks, possibly storing it in some output.
- Parameters:
 - masks
python:tupleofarrayof bool orpython:Falseorpython:None Input masks. Any that are
NoneorFalseare ignored. Should broadcast to each other. For structured dtype, an element is considered masked if any of the fields is.- out
array, optional Possible output array to hold the result.
- where
arrayof bool, optional Which elements of the output array to fill.
- copybool optional
 Whether to ensure a copy is made. Only relevant if just a single input mask is not
None, andoutis not given.
- masks
 - Returns:
 - mask
array Combined mask.
- mask