pyacs.gts.lib.primitive.substract_ts module

pyacs.gts.lib.primitive.substract_ts.substract_ts(self, ts, tol=0.05, verbose=True)[source]

Subtract the provided time series from the current one (at common dates).

Parameters:
  • ts (Gts) – Time series to subtract (Gts instance).

  • tol (float, optional) – Date tolerance in days to consider two dates identical (default 0.05 day).

  • verbose (bool, optional) – Verbose mode.

Returns:

New Gts with code self.code+’_’+ts.code; .data_xyz set to None.

Return type:

Gts