Gts.to_pandas_df

class pyacs.gts.Gts.Gts(code=None, lat=None, lon=None, h=None, X0=None, Y0=None, Z0=None, t0=None, data=None, data_xyz=None, data_corr_neu=None, data_corr_xyz=None, offsets_dates=[], offsets_values=None, outliers=[], annual=None, semi_annual=None, velocity=None, ifile=None, log=None, metadata=None)[source]
to_pandas_df(data_xyz=False, uncertainty=False, round=False)

Convert a pyacs Gts to a pandas DataFrame.

Parameters:
  • data_xyz (bool, optional) – If True, use .data_xyz (X,Y,Z); otherwise use .data (N,E,U).

  • uncertainty (bool, optional) – If True, include uncertainty columns.

  • round (bool, optional) – If True, round index (unused).

Returns:

Index is datetime; columns are position and optionally uncertainties.

Return type:

pandas.DataFrame

Notes

Uncertainties are included only when uncertainty=True.