diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-11-22 17:59:18 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-11-22 17:59:18 +0800 |
commit | 37f0ab05c94ab9409746ba7eacc4358f35331e3d (patch) | |
tree | fc7d285ac9b7a6a23e3c3e7fa415635b91ab9c9a /fg21sim/foregrounds.py | |
parent | 788219377f44e9d6246077e4486cfd51f0e0e730 (diff) | |
download | fg21sim-37f0ab05c94ab9409746ba7eacc4358f35331e3d.tar.bz2 |
products: Support frequency unit; Add "reset()" method
Diffstat (limited to 'fg21sim/foregrounds.py')
-rw-r--r-- | fg21sim/foregrounds.py | 2 |
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() |