diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-10-18 16:04:59 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-10-18 16:04:59 +0800 |
commit | 4131f6f961ffb3c689d28791064fab53fc7495ff (patch) | |
tree | 4fa255e3f971dbd18ac2016f9343fd02bcd71685 /fg21sim/foregrounds.py | |
parent | f93e7b22321004e143ce6cf2b759d6a2e5acc9f4 (diff) | |
download | fg21sim-4131f6f961ffb3c689d28791064fab53fc7495ff.tar.bz2 |
foregrounds.py: Fix the too-long FITS keyword with comment
Diffstat (limited to 'fg21sim/foregrounds.py')
-rw-r--r-- | fg21sim/foregrounds.py | 5 |
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: |