aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/foregrounds.py
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-11-22 17:59:18 +0800
committerAaron LI <aaronly.me@outlook.com>2016-11-22 17:59:18 +0800
commit37f0ab05c94ab9409746ba7eacc4358f35331e3d (patch)
treefc7d285ac9b7a6a23e3c3e7fa415635b91ab9c9a /fg21sim/foregrounds.py
parent788219377f44e9d6246077e4486cfd51f0e0e730 (diff)
downloadfg21sim-37f0ab05c94ab9409746ba7eacc4358f35331e3d.tar.bz2
products: Support frequency unit; Add "reset()" method
Diffstat (limited to 'fg21sim/foregrounds.py')
-rw-r--r--fg21sim/foregrounds.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fg21sim/foregrounds.py b/fg21sim/foregrounds.py
index e004a52..a64f21c 100644
--- a/fg21sim/foregrounds.py
+++ b/fg21sim/foregrounds.py
@@ -182,7 +182,7 @@ class Foregrounds:
def preprocess(self):
"""Perform the preparation procedures for the final simulations."""
- self.products.frequencies = self.frequencies
+ self.products.frequencies = (self.frequencies, str(self.freq_unit))
logger.info("Perform preprocessing for all enabled components ...")
for comp_obj in self.components.values():
comp_obj.preprocess()