Core module

Here comes the course function …

playground.core.find_peaks(list_of_intensities)

Find peaks

Find local maxima for a given list of intensities. Intensities are defined as local maxima if the intensities of the elements in the list before and after are smaller than the peak we want to determine.

Parameters:list_of_intensities (list of floats or ints) – a list of numeric values
Returns:list of the identified local maxima
Return type:list of floats

Note

This is just a place holder for the TDD part :)