예제 #1
0
파일: fat32.py 프로젝트: qwert42/createfile
        def target():
            n, a, l = self.validate_first_clusters_with_settings()

            return plot_windowed_metrics(
                n, a, l,
                ['首簇号'],
                [self.settings.cluster_plot_format],
                [self.settings.cluster_plot_plot_normal_points],
                [self.settings.cluster_plot_plot_abnormal_points],
                figure=figure
            ), '簇号参数图'
예제 #2
0
파일: fat32.py 프로젝트: qwert42/createfile
        def target():
            def s(attr=''):
                return getattr(self.settings,
                               '%s_%s' % (method, attr))

            n, a, l = self.validate_metrics_with_settings(method)

            return plot_windowed_metrics(
                n, a, l,
                [method],
                [s('format')],
                [s('plot_normal_points')],
                [s('plot_abnormal_points')],
                figure=figure
            ), '%s参数图' % method