Esempio n. 1
0
    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()
Esempio n. 2
0
    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()
Esempio n. 3
0
    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()
Esempio n. 4
0
    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()
Esempio n. 5
0
    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)
Esempio n. 6
0
    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)