def generate(self): """Generate the view of smoothed production.""" for _id in self._ids: data = mongo.data(_id) step = mongo.settings(_id)['step'] self.plot(data, step) plt.clf()
def generate(self): """Generate the view of differenced production.""" for _id in self._ids: data = mongo.data(_id) degree = mongo.settings(_id)['degree'] self.plot(data, degree) plt.clf()
def generate(self): """Generate the view of the correlogram.""" for _id in self._ids: data = mongo.data(_id[LABELS['values']]) confint = self.get_confint(_id[LABELS['confint']]) stg = mongo.settings(mongo.parents(_id[LABELS['values']])[0]) title = ' - '.join( ['{} = {}'.format(k, v) for k, v in stg.items()]) self.plot(data, confint, title)
def generate(self): """Generate the view of the correlogram.""" for _id in self._ids: data = mongo.data(_id[LABELS['values']]) confint = self.get_confint(_id[LABELS['confint']]) stg = mongo.settings( mongo.parents(_id[LABELS['values']])[0] ) title = ' - '.join(['{} = {}'.format(k, v) for k, v in stg.items()]) self.plot(data, confint, title)