Finding Peaks + Normal Gaussian Distribution Fit
Contains the functions spam.helpers.findingPeaks and spam.helpers.gaussianFit.
The findingPeaks function finds the peaks of the phases on a greylevel image. The gaussianFit finds a more robust threshold between the phases by fitting normal gaussian distributions in the histogram of a greylevel image.