phint_invert function

Get the gaps in a phinterval as time spans