Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LAM-GRD-public
maoppy
Commits
de0bd900
Commit
de0bd900
authored
Apr 07, 2021
by
rfetick
Browse files
invert X,Y axis in Moffat
parent
a8711171
Changes
2
Hide whitespace changes
Inline
Side-by-side
maoppy/data/eris.yml
View file @
de0bd900
...
...
@@ -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
maoppy/psfmodel.py
View file @
de0bd900
...
...
@@ -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
):
"""
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment