code: def finite_pixels(self):
          
          finite_px = np.where(np.isfinite(self.data))
          finite_px = np.c_[finite_px[0], finite_px[1]]
          return finite_px
docs: Return an array of the finite pixels.
  
          Returns
          -------
          :obj:`numpy.ndarray`
               Nx2 array of the finite pixels