pyacs.gts.tsr module

Time series as 4D array D and observation time vector T.

D(i,j,k): displacement at time i, site j, component k [de,dn,du,sde,sdn,sdu]. No-data entries are NaN.

class pyacs.gts.tsr.tsr[source]

Bases: object

Time series representation (4D array + dates).

classmethod convert(sgts, tol=0.01, verbose=False)[source]

Convert an Sgts object into a tsr.

Parameters:
  • sgts (Sgts) – Sgts object.

  • tol (float, optional) – Tolerance in decimal day to assign the same date.

  • verbose (bool, optional) – Verbose mode.

Returns:

tsr instance with NAMES, DATES, D.

Return type:

tsr