diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-11-21 10:18:47 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-11-21 10:18:47 +0800 |
commit | 80a06350516fbc302ff9b5475629a1ec95643086 (patch) | |
tree | 4591c7b5051a815d17fa1c11cfaef2de12081bd5 /fg21sim/extragalactic | |
parent | 8adeeb51cca40337cce36f94d00bacc84c33731d (diff) | |
download | fg21sim-80a06350516fbc302ff9b5475629a1ec95643086.tar.bz2 |
extragalactic/pointsources: Return "None" file path and add a TODO
Diffstat (limited to 'fg21sim/extragalactic')
-rw-r--r-- | fg21sim/extragalactic/pointsources/pointsources.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fg21sim/extragalactic/pointsources/pointsources.py b/fg21sim/extragalactic/pointsources/pointsources.py index 85f6ec4..a921e03 100644 --- a/fg21sim/extragalactic/pointsources/pointsources.py +++ b/fg21sim/extragalactic/pointsources/pointsources.py @@ -92,8 +92,10 @@ class PointSources: for pscomp_obj in self.pscomps.values(): hpmap_f += pscomp_obj.draw_single_ps(freq) logger.info("Generating PS hpmaps done!") - - return hpmap_f + # XXX/TODO: + # * Output the HEALPix map to file + # * Also return the path to the output file + return (hpmap_f, None) def simulate(self, frequencies): """Simulate the emission (HEALPix) maps of all Galactic SNRs for |