Commit de0bd900 authored by rfetick's avatar rfetick
Browse files

invert X,Y axis in Moffat

parent a8711171
......@@ -14,7 +14,7 @@ phasemask_shift: !!python/tuple
- 0.0
res: 3.11653088908399e-08
ron: 0
pupilmask_path: '/home/omartin/Projects/APPLY/DATA/pupils/ut4pupilM3160noLB.fits'
pupilmask_path: 'C:\Users\rfetick\Documents\maoppy\ut4pupilM3160noLB.fits'
pupilmask_shift: !!python/tuple
- 0.0
- 0.0
......@@ -351,8 +351,8 @@ class Moffat(ParametricPSF):
self.bounds = (bounds_down,bounds_up)
self._XY = _np.mgrid[0:Npix[0],0:Npix[1]]
self._XY[1] -= Npix[0]//2
self._XY[0] -= Npix[1]//2
self._XY[0] -= Npix[0]//2
self._XY[1] -= Npix[1]//2
def __call__(self,x,dx=0,dy=0):
"""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment