aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/sky.py
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2017-08-13 19:34:21 +0800
committerAaron LI <aly@aaronly.me>2017-08-13 19:34:21 +0800
commit65e93d7e2d585faa3a57a07864ed11305230248a (patch)
tree2287cda5168918384f7a55c46554fc697afd9d56 /fg21sim/sky.py
parent0fbe7eb3a768ff604c5e979fb54159215bd56cba (diff)
downloadfg21sim-65e93d7e2d585faa3a57a07864ed11305230248a.tar.bz2
clusters/main.py: Set sky header properties
* Clean up the unused configurations * Add "FREQ" keyword to the sky FITS header Signed-off-by: Aaron LI <aly@aaronly.me>
Diffstat (limited to 'fg21sim/sky.py')
-rw-r--r--fg21sim/sky.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/fg21sim/sky.py b/fg21sim/sky.py
index b100a8d..a505db5 100644
--- a/fg21sim/sky.py
+++ b/fg21sim/sky.py
@@ -182,6 +182,7 @@ class SkyBase:
hdr["SkyType"] = (self.type_, "Patch / HEALPix")
hdr["PixSize"] = (self.pixelsize, "Pixel size [arcsec]")
hdr["CREATOR"] = (self.creator, "Sky Creator")
+ hdr["FREQ"] = (self.frequency, "Sky frequency [MHz]")
hdr["DATE"] = (datetime.now(timezone.utc).astimezone().isoformat(),
"File creation date")
return hdr