Allow irregular non-contiguous time series to be appended
Created by: mattpitkin
In a follow-up to https://github.com/gwpy/gwpy/pull/1428, this PR edits the Series.append()
method to allow irregular non-consecutive time series to be appended/joined. For example, currently the following will fail:
from gwpy.timeseries import TimeSeries, TimeSeriesList
ts1 = TimeSeries([1, 2, 3, 4], times=[0, 4, 5, 7])
ts2 = TimeSeries([5, 6, 7, 8, 9], times=[10, 11, 12, 15, 16])
l = TimeSeriesList()
l.append(ts1)
l.append(ts2)
newd = l.join(gap="ignore")
With this PR it will work.