@pimms.value<EOL><INDENT>def rh_gray_indices(rh_gray_mask):<DEDENT>
if rh_gray_mask is None: return None<EOL>if is_image(rh_gray_mask): rh_gray_mask = rh_gray_mask.get_data()<EOL>return tuple([pimms.imm_array(x) for x in np.where(rh_gray_mask)])<EOL>
sub.rh_gray_indices is equivalent to numpy.where(sub.rh_gray_mask).