segment_manual function

Manually segment a time series