The smooth unwrap option modifies the input data so that any two successive
points will not differ by more than pi; a point whose y value is outside this
range will be incremented or decremented by multiples of 2pi until it falls
within pi of the previous point. This operation is useful for making wrapped
phase measurements continuous over time.