aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/galactic/synchrotron.py
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2017-05-21 21:23:28 +0800
committerAaron LI <aaronly.me@outlook.com>2017-05-21 21:23:28 +0800
commit8257049e7947e95858295ddd2cc55b758a432194 (patch)
tree07458e1c8f2348b9a5969de64f6ebc08148327aa /fg21sim/galactic/synchrotron.py
parentb0c2d36a04d3b4ff89c0b8ed0540dd56df051cef (diff)
downloadfg21sim-8257049e7947e95858295ddd2cc55b758a432194.tar.bz2
Minor updates to galactic/{freefree,synchrotron}.py
Diffstat (limited to 'fg21sim/galactic/synchrotron.py')
-rw-r--r--fg21sim/galactic/synchrotron.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/fg21sim/galactic/synchrotron.py b/fg21sim/galactic/synchrotron.py
index 3c9c4b2..7c9f465 100644
--- a/fg21sim/galactic/synchrotron.py
+++ b/fg21sim/galactic/synchrotron.py
@@ -40,7 +40,7 @@ class Synchrotron:
???
"""
# Component name
- name = "Galactic synchrotron"
+ name = "Galactic synchrotron (unpolarized)"
def __init__(self, configs):
self.configs = configs
@@ -144,8 +144,7 @@ class Synchrotron:
history) for the simulated products.
"""
header = fits.Header()
- header["COMP"] = ("Galactic synchrotron (unpolarized)",
- "Emission component")
+ header["COMP"] = (self.name, "Emission component")
header["UNIT"] = ("Kelvin", "Map unit")
header["CREATOR"] = (__name__, "File creator")
# TODO:
@@ -215,7 +214,7 @@ class Synchrotron:
skymap_f : 1D `~numpy.ndarray`
The sky map at the input frequency.
filepath : str
- The (absolute) path to the output file if saved,
+ The (absolute) path to the output sky map if saved,
otherwise ``None``.
"""
self.preprocess()