From dfb319cdec49d769ce85b2ccaeeccf242824836d Mon Sep 17 00:00:00 2001 From: Sidney Mau Date: Fri, 23 Feb 2024 08:20:20 -0800 Subject: [PATCH] Fix CelestialWCS.radecToxy docstring erratum --- galsim/wcs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/galsim/wcs.py b/galsim/wcs.py index 466eb9524c..7d39ef6e8c 100644 --- a/galsim/wcs.py +++ b/galsim/wcs.py @@ -1304,7 +1304,7 @@ def xyToradec(self, x, y, units=None, color=None): def radecToxy(self, ra, dec, units, color=None): """Convert ra,dec from world coordinates to image coordinates. - This is equivalent to ``wcs.toWorld(ra,dec, units=units)``. + This is equivalent to ``wcs.toImage(ra,dec, units=units)``. It is also equivalent to ``wcs.posToImage(galsim.CelestialCoord(ra * units, dec * units))`` when ra and dec are scalars; however, this routine allows ra and dec to be numpy arrays,