def __init__(self,sensors_list,stop_event):
        self.plugin_dir = os.path.join(os.path.dirname(__file__),'plugins') #plugins directory
        self.plugins = sensors_list # plugins list
        self.statistics = {} # statistics object to be passed to the GUI
        for sensor in self.plugins:
            self.statistics[sensor.name] = sensor.currentValue
        self.stop_event = stop_event
Record keeping for primitive system parameters
dataset/ETHPy150Open black-perl/ptop/ptop/statistics/statistics.py/Statistics.__init__