def METHOD_NAME(self):
    if self.timer_loop > time.time():
        return
    while self.timer_loop < time.time():
        self.timer_loop += self.period
    device_measurement = get_measurement(
        self.select_measurement_measurement_id)
    if not device_measurement:
        self.logger.error("Could not find Device Measurement")
        return
    past_measurements = self.get_past_measurements(
        self.select_measurement_device_id,
        self.select_measurement_measurement_id,
        max_age=self.max_measure_age)
    self.logger.debug("Past Measurements returned: {}".format(
        past_measurements))
    if not past_measurements:
        self.logger.error(
            "Could not find measurements within the set Max Age")
        return False
    measure = []
    for each_measure in past_measurements:
        measure.append(each_measure[1])
    if len(measure) > 1:
        stat_mean = float(sum(measure) / float(len(measure)))
        stat_median = median(measure)
        stat_minimum = min(measure)
        stat_maximum = max(measure)
        stdev_ = stdev(measure)
        stdev_mean_upper = stat_mean + stdev_
        stdev_mean_lower = stat_mean - stdev_
        list_measurement = [
            stat_mean,
            stat_median,
            stat_minimum,
            stat_maximum,
            stdev_,
            stdev_mean_upper,
            stdev_mean_lower
        ]
        for each_channel, each_measurement in self.channels_measurement.items():
            if each_measurement.is_enabled:
                channel, unit, measurement = return_measurement_info(
                    each_measurement, self.channels_conversion[each_channel])
                self.logger.debug(
                    "Saving {} to channel {} with measurement {} and "
                    "unit {}".format(list_measurement[each_channel],
                                     each_channel,
                                     measurement,
                                     unit))
                write_influxdb_value(
                    self.unique_id,
                    unit,
                    value=list_measurement[each_channel],
                    measure=measurement,
                    channel=each_channel)
    else:
        self.logger.debug(
            "Less than 2 measurements found within Max Age. "
            "Calculations need at least 2 measurements. Not calculating.")