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
fa438d27
Commit
fa438d27
authored
Jul 04, 2021
by
skamann
Browse files
Modified INITFIT logging messages.
parent
9dc2413e
Changes
1
Hide whitespace changes
Inline
Side-by-side
pampelmuse/core/source_selector.py
View file @
fa438d27
...
...
@@ -1166,8 +1166,9 @@ class SourceSelector(object):
min_mag
=
self
.
sources
.
mag
[(
self
.
sources
.
status
==
2
)
&
(
distance_to_edge
>
0
)].
min
()
logger
.
info
(
'IDs of stars that fulfill criteria for PSF stars:'
)
logger
.
info
(
' ID| mag| d_edge [pixel]| shoulder_drop'
)
logger
.
info
(
'--------+------+---------------+--------------'
)
logger
.
info
(
' ID| mag| d_edge [pixel]| shoulder_drop '
)
logger
.
info
(
'--------+------+---------------+ [apernois={0:.2f}'
.
format
(
aperture_noise
))
logger
.
info
(
'--------+------+---------------+---------------'
)
# loop over magnitude-sorted list of indices of the sources the instance of the Sources-class
# (brightest sources first)
...
...
@@ -1212,7 +1213,7 @@ class SourceSelector(object):
continue
self
.
sources
.
catalog
.
at
[
source_id
,
'status'
]
=
3
logger
.
info
(
"{0:8d}|{1:6.2f}|{2:15.1f}|{3:1
4
.2f}"
.
format
(
source_id
,
mag
,
distance_to_edge
[
source_id
],
logger
.
info
(
"{0:8d}|{1:6.2f}|{2:15.1f}|{3:1
5
.2f}"
.
format
(
source_id
,
mag
,
distance_to_edge
[
source_id
],
shoulder_drop
))
if
len
(
self
.
sources
.
psf_indices
)
==
0
:
...
...
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