pyacs.gts.lib.primitive.copy module

pyacs.gts.lib.primitive.copy.copy(self, data=True, data_xyz=True, loutliers=True)[source]

Return a deep copy of the time series.

By default copies .data, .data_xyz, outliers, etc. Behaviour can be overridden per attribute below.

Parameters:
  • data (bool or numpy.ndarray, optional) – True = copy .data; False = set to None; or (n,10) array. Default is True.

  • data_xyz (bool or numpy.ndarray, optional) – True = copy .data_xyz; False = None; or (n,10) array. Default is True.

  • loutliers (bool, optional) – If False, do not copy outliers. Default is True.

Returns:

New Gts instance.

Return type:

Gts