Step detection This is the simple function for detection steps in a particle signal generated by microscopy data.