diff options
| author | andreas128 <Andreas> | 2017-09-27 12:49:04 +0200 | 
|---|---|---|
| committer | andreas128 <Andreas> | 2017-09-27 12:49:04 +0200 | 
| commit | 02a0b7419fc5b7aaf18fb9be4ed0888defa77e2d (patch) | |
| tree | c49c05edc82af242de4b07ad97a9d3307457f072 /dpd/src/ExtractStatistic.py | |
| parent | 38e4b3a35d4265844641d4527d8952080c0d0d79 (diff) | |
| download | dabmod-02a0b7419fc5b7aaf18fb9be4ed0888defa77e2d.tar.gz dabmod-02a0b7419fc5b7aaf18fb9be4ed0888defa77e2d.tar.bz2 dabmod-02a0b7419fc5b7aaf18fb9be4ed0888defa77e2d.zip | |
Move consts to Const.py; Cleanup
Diffstat (limited to 'dpd/src/ExtractStatistic.py')
| -rw-r--r-- | dpd/src/ExtractStatistic.py | 6 | 
1 files changed, 2 insertions, 4 deletions
| diff --git a/dpd/src/ExtractStatistic.py b/dpd/src/ExtractStatistic.py index 306c401..bf9eba5 100644 --- a/dpd/src/ExtractStatistic.py +++ b/dpd/src/ExtractStatistic.py @@ -34,9 +34,7 @@ class ExtractStatistic:      """Calculate a low variance RX value for equally spaced tx values      of a predefined range""" -    def __init__(self, -                 c, -                 plot=False): +    def __init__(self, c):          self.c = c          self.n_meas = 0 @@ -58,7 +56,7 @@ class ExtractStatistic:          for i in range(c.ES_n_bins):              self.rx_values.append(None) -        self.plot = plot +        self.plot = c.ES_plot      def _plot_and_log(self):          if logging.getLogger().getEffectiveLevel() == logging.DEBUG and self.plot: | 
