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
bec5dae5
Commit
bec5dae5
authored
Apr 06, 2021
by
skamann
Browse files
Fixed issue that info dialog displayed wrong number of resolved sources.
parent
a14d50af
Changes
1
Hide whitespace changes
Inline
Side-by-side
pampelmuse/core/sources.py
View file @
bec5dae5
...
...
@@ -774,9 +774,9 @@ class Sources(object):
"""
logger
.
info
(
"Current status of catalogue of sources:"
)
logger
.
info
(
" no. of PSF sources: {0}"
.
format
(
self
.
psf_indices
.
size
))
logger
.
info
(
" no. of resolved sources: {0}"
.
format
(
self
.
is_resolved
.
sum
(
)))
logger
.
info
(
" no. of resolved sources: {0}"
.
format
(
np
.
sum
(
self
.
status
==
2
)))
logger
.
info
(
" no. of nearby sources: {0}"
.
format
(
np
.
sum
(
self
.
status
==
1
)))
logger
.
info
(
" no. of unresolved sources: {0}"
.
format
(
self
.
is_unresolved
.
sum
(
)))
logger
.
info
(
" no. of unresolved sources: {0}"
.
format
(
np
.
sum
(
self
.
status
==
0
)))
logger
.
info
(
" no. of background components: {0}"
.
format
(
self
.
n_background
))
logger
.
debug
(
"Overview of all components used in fit:"
)
...
...
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