You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the same as `~BaseLowLevelWCS.world_to_pixel_values` except that
the indices should be returned in ``(i, j)`` order, where for an image
``i`` is the row and ``j`` is the column (i.e. the opposite order to
`~BaseLowLevelWCS.pixel_to_world_values`). The indices should be
returned as rounded integers.
"""
result=self.world_to_pixel_values(*world_arrays)
ifself.pixel_n_dim!=1:
result=result[::-1]
returnresult
does not round to integer values like its docstring indicates. This behavior is present in astropy.wcs and listed as part of the general API by APE 14.
Currently,
gwcs/gwcs/api.py
Lines 141 to 153 in 7f92615
astropy.wcs
and listed as part of the general API by APE 14.The clear solution is to apply
gwcs/gwcs/utils.py
Lines 54 to 74 in 7f92615
The text was updated successfully, but these errors were encountered: