def write_measure(self, stim_obj, input_tuple):
    measure_func = self.get_measure_function()
    if (measure_func == None):
        debug.error('Did not set measure function', 1)
    measure_vals = self.get_measure_values(*input_tuple)
    measure_func(stim_obj, *measure_vals)
def write_measure(self, stim_obj, input_tuple):
    measure_func = self.get_measure_function()
    if (measure_func == None):
        debug.error('Did not set measure function', 1)
    measure_vals = self.get_measure_values(*input_tuple)
    measure_func(stim_obj, *measure_vals)