From 4131f6f961ffb3c689d28791064fab53fc7495ff Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Tue, 18 Oct 2016 16:04:59 +0800 Subject: foregrounds.py: Fix the too-long FITS keyword with comment --- fg21sim/foregrounds.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'fg21sim/foregrounds.py') 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: -- cgit v1.2.2