def __init__(self, cnn=None, NetworkCode=None, StationCode=None, tref=0, t=None):
self.c = np.array([])
self.v = np.array([])
if t is None:
ppp_soln = PPP_soln(cnn, NetworkCode, StationCode)
t = ppp_soln.t
# t ref (just the beginning of t vector)
if tref==0:
tref = np.min(t)
# offset
c = np.ones((t.size, 1))
# velocity
v = (t - tref)
self.A = np.column_stack((c, v))
self.tref = tref
评论列表
文章目录