462237e9be3f614386400062039429a18a1e5836,nilmtk/elecmeter.py,ElecMeter,good_sections,#ElecMeter#,240

Before Change


        -------
        sections: list of nilmtk.TimeFrame objects
        
        nodes = [GoodSections()]
        results = self._run_pipeline(nodes)
        return results["good_sections"]
        
    def total_on_duration(self):
        Return timedelta
        raise NotImplementedError

After Change


        
        source_node = self.get_source_node(**loader_kwargs)
        good_sections = GoodSections(source_node)
        good_sections.run()
        return good_sections.results.combined
        
    def total_on_duration(self):
        Return timedelta
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: nilmtk/nilmtk
Commit Name: 462237e9be3f614386400062039429a18a1e5836
Time: 2014-07-03
Author: jack-list@xlk.org.uk
File Name: nilmtk/elecmeter.py
Class Name: ElecMeter
Method Name: good_sections


Project Name: nilmtk/nilmtk
Commit Name: 462237e9be3f614386400062039429a18a1e5836
Time: 2014-07-03
Author: jack-list@xlk.org.uk
File Name: nilmtk/elecmeter.py
Class Name: ElecMeter
Method Name: total_energy


Project Name: THUNLP-MT/THUMT
Commit Name: 5247ed31725f4a7626d66525a49749c54b84b6ea
Time: 2018-02-26
Author: playinf@stu.xmu.edu.cn
File Name: thumt/utils/hooks.py
Class Name:
Method Name: _evaluate