pyacs.gts.lib.primitive.split module

pyacs.gts.lib.primitive.split.split(self, split_dates, verbose=True)[source]

Split time series at given dates.

Dates <= split date define the left segment. Dates are converted to integer seconds via at.decyear2seconds.

Parameters:
  • split_dates (list or numpy.ndarray) – Decimal-year dates for split points.

  • verbose (bool, optional) – Verbose mode. Default is True.

Returns:

Gts objects from the split.

Return type:

list of Gts