broadcast_arrays

astropy.utils.masked.function_helpers.broadcast_arrays(*args, subok=True)[source]

Broadcast arrays to a common shape.

Like numpy.broadcast_arrays, applied to both unmasked data and masks. Note that subok is taken to mean whether or not subclasses of the unmasked data and masks are allowed, i.e., for subok=False, MaskedNDArray instances will be returned.