'Returns the global maximum value and position.'

def globalMaximum(self):

    potential_max = list()
    for (func, pos, height, width) in zip(self.peaks_function, self.peaks_position, self.peaks_height, self.peaks_width):
        potential_max.append((func(pos, pos, height, width), pos))
    return max(potential_max)
