def get_mouse_pos(self, pos):
        """Return the mouse coordinates in NDC, taking panzoom into account."""
        position = np.asarray(self._normalize(pos))
        zoom = np.asarray(self._zoom_aspect())
        pan = np.asarray(self.pan)
        mouse_pos = ((position / zoom) - pan)
        return mouse_pos
Return the mouse coordinates in NDC, taking panzoom into account.