def METHOD_NAME(self):
    if self.valid == False:
        return 0
    self.powerLib.get_device_curr.restype = c_int
    curr = max([int(self.powerLib.get_device_curr(c.encode()))
               for c in self.c]) / 1000.0
    return self.sample_phases * curr