Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
skamann
pampelmuse
Commits
5c207700
Commit
5c207700
authored
Jun 22, 2021
by
skamann
Browse files
Removed print statement included for testing.
parent
112ff718
Changes
2
Hide whitespace changes
Inline
Side-by-side
pampelmuse/core/fit_layer.py
View file @
5c207700
...
...
@@ -626,7 +626,6 @@ class FitLayer(object):
# plt.show()
# carry out optimization of PSF and/or source positions
print
(
psf_parameters_to_fit
,
position_parameters_to_fit
)
if
psf_parameters_to_fit
is
not
None
or
position_parameters_to_fit
is
not
None
:
# if any sources are provided for the PSF fit, the method for large layers is used
...
...
pampelmuse/psf/profiles/maoppy.py
View file @
5c207700
...
...
@@ -509,7 +509,7 @@ class Maoppy(Profile):
psf
=
Psfao
(
npix
=
(
30
,
30
),
system
=
muse_nfm
,
samp
=
muse_nfm
.
samp
(
self
.
wvl
))
return
psf
.
strehlOTF
((
self
.
r0
,
self
.
bck
,
self
.
amp
,
self
.
alpha
,
1
-
self
.
e
,
self
.
theta
,
self
.
beta
))
# Analy
y
tical calculation based on eq. 14 from the paper by Fetick et al. (2019). This seems to underestimate
# Analytical calculation based on eq. 14 from the paper by Fetick et al. (2019). This seems to underestimate
# the Strehl significantly for NFM data.
# f_ao = muse_nfm.Nact/(2.*muse_nfm.D)
# return np.exp(-self.amp - self.bck*np.pi*(f_ao**2) - (0.023*6.*np.pi*(self.r0*f_ao)**(-5./3.))/5.)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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