Commit b8df7f038a98c41e24db2559d95d4b7b34a7e3a6
1 parent
66549484
Add printout when smoothing
Showing
1 changed file
with
5 additions
and
0 deletions
cscripts/cssrcdetect.py
| ... | ... | @@ -349,8 +349,13 @@ class cssrcdetect(ctools.cscript): |
| 349 | 349 | skymap : `~gammalib.GSkyMap()` |
| 350 | 350 | Sky map |
| 351 | 351 | """ |
| 352 | + self._log_header3(gammalib.NORMAL, "Smoothing Skymap") | |
| 352 | 353 | # Make sure the smoothing kernel is not 'NONE' |
| 353 | 354 | if self['smoothkernel'].string().upper() != 'NONE': |
| 355 | + self._log_value(gammalib.NORMAL, "Kernel", | |
| 356 | + self['smoothkernel'].string()) | |
| 357 | + self._log_value(gammalib.NORMAL, "Parameter", | |
| 358 | + self["smoothparam"].real()) | |
| 354 | 359 | skymap.smooth(self['smoothkernel'].string(), |
| 355 | 360 | self['smoothparam'].real()) |
| 356 | 361 | else: | ... | ... |