From 37f0ab05c94ab9409746ba7eacc4358f35331e3d Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Tue, 22 Nov 2016 17:59:18 +0800 Subject: products: Support frequency unit; Add "reset()" method --- fg21sim/foregrounds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fg21sim/foregrounds.py') 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() -- cgit v1.2.2