Commit bec5dae5 authored by skamann's avatar skamann
Browse files

Fixed issue that info dialog displayed wrong number of resolved sources.

parent a14d50af
...@@ -774,9 +774,9 @@ class Sources(object): ...@@ -774,9 +774,9 @@ class Sources(object):
""" """
logger.info("Current status of catalogue of sources:") logger.info("Current status of catalogue of sources:")
logger.info(" no. of PSF sources: {0}".format(self.psf_indices.size)) 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 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.info(" no. of background components: {0}".format(self.n_background))
logger.debug("Overview of all components used in fit:") logger.debug("Overview of all components used in fit:")
......
Supports Markdown
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