def coordinate_grid(self, nx, ny): """ :param numPix: number of pixels per axis :return: 2d arrays with coordinates in RA/DEC with ra_coord[y-axis, x-axis] """ ra_coords, dec_coords = util.grid_from_coordinate_transform( nx, ny, self._Mpix2a, self._ra_at_xy_0, self._dec_at_xy_0) return ra_coords, dec_coords
def coordinate_grid(self, numPix): """ :param numPix: :return: """ ra_coords, dec_coords = util.grid_from_coordinate_transform( numPix, self._Mpix2a, self._ra_at_xy_0, self._dec_at_xy_0) return ra_coords, dec_coords
def coordinate_grid(self, nx, ny): """ :param nx: number of pixels in x-direction :param ny: number of pixels in y-direction :return: 2d arrays with coordinates in RA/DEC with ra_coord[y-axis, x-axis] """ ra_coords, dec_coords = util.grid_from_coordinate_transform(nx, ny, self._Mpix2a, self._ra_at_xy_0, self._dec_at_xy_0) ra_coords = util.array2image(ra_coords, nx, ny) # new dec_coords = util.array2image(dec_coords, nx, ny) # new return ra_coords, dec_coords