Ejemplo 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()
Ejemplo 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()
Ejemplo 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()
Ejemplo 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()
Ejemplo 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)
Ejemplo 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)