aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-10-18 16:04:59 +0800
committerAaron LI <aaronly.me@outlook.com>2016-10-18 16:04:59 +0800
commit4131f6f961ffb3c689d28791064fab53fc7495ff (patch)
tree4fa255e3f971dbd18ac2016f9343fd02bcd71685
parentf93e7b22321004e143ce6cf2b759d6a2e5acc9f4 (diff)
downloadfg21sim-4131f6f961ffb3c689d28791064fab53fc7495ff.tar.bz2
foregrounds.py: Fix the too-long FITS keyword with comment
-rw-r--r--fg21sim/foregrounds.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/fg21sim/foregrounds.py b/fg21sim/foregrounds.py
index 3cf60dd..062558f 100644
--- a/fg21sim/foregrounds.py
+++ b/fg21sim/foregrounds.py
@@ -125,8 +125,9 @@ class Foregrounds:
history) for the simulated products.
"""
header = fits.Header()
- header["COMP"] = (", ".join(self.components_id),
- "Emission components")
+ header["COMP"] = ("Combined foreground",
+ "Emission component")
+ header.add_comment("COMPONENTS: " + ", ".join(self.components_id))
header["UNIT"] = ("Kelvin", "Map unit")
header["CREATOR"] = (__name__, "File creator")
# TODO: