Fix docstrings in wcs.py
@@ -480,8 +480,8 @@ class WcsGeom(MapGeom):
def get_pix(self, idx=None, mode='center'):
"""Get map pix coordinates from the geometry.
- Paramters
- ---------
+ Parameters
+ ----------
mode : {'center', 'edges'}
Get center or edge pix coordinates for the spatial axes.
@@ -558,22 +558,17 @@ class WcsGeom(MapGeom):
def get_coord(self, idx=None, flat=False, mode='center'):
"""Get map coordinates from the geometry.
- Paramters
- ---------
+ Parameters
+ ----------
mode : {'center', 'edges'}
Get center or edge coordinates for the spatial axes.
-<<<<<<< HEAD
Returns
-------
coord : `~MapCoord`
Map coordinate object.
"""
pix = self.get_pix(idx=idx, mode=mode)
-=======
- def get_coord(self, idx=None, flat=False, mode='center'):
- pix = self._get_pix_coords(idx=idx, mode=mode)
->>>>>>> Migrate gammapy.image.profile to maps and clean up
coords = self.pix_to_coord(pix)
if flat:
