sedrate2tune function

Use a sedimentation curve to convert data to the time domain