<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def numpy_bins_with_mask(self) -> Tuple[np.ndarray, np.ndarray]: """Bins in the numpy format, including the gaps in inconsecutive binnings. Returns ------- edges, mask: np.ndarray See Also -------- bin_utils.to_numpy_bins_with_mask """

        bwm = to_numpy_bins_with_mask(self.bins)
        if not self.includes_right_edge:
            bwm[0].append(np.inf)
        return bwm