pyacs.gts.lib.primitive.set_zero_at_date module
- pyacs.gts.lib.primitive.set_zero_at_date.set_zero_at_date(self, date, offset=None)[source]
Translate the time series so that values are zero at a given date.
If the provided date does not exist in the series, the next available date is used.
- Parameters:
date (float) – Date in decimal year.
offset (float or list or ndarray, optional) – Offset in mm to add. Float (same for N,E,U) or 3-element list/array for N,E,U.
- Returns:
New Gts with translation applied; .data_xyz set to None.
- Return type: