<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_data_xy(self, win_x, win_y, center=None):
 """Get the closest coordinates in the data array to those reported on the window. Parameters win_x, win_y : float or ndarray Window coordinates. center : bool If `True`, then the coordinates are mapped such that the pixel is centered on the square when the image is zoomed in past 1X. This is the specification of the FITS image standard, that the pixel is centered on the integer row/column. Returns ------- coord : tuple Data coordinates in the form of ``(x, y)``. """

        if center is not None:
            self.logger.warning("`center` keyword is ignored and will be deprecated")

        arr_pts = np.asarray((win_x, win_y)).T
        return self.tform['data_to_native'].from_(arr_pts).T[:2]