pyPPPETM_new.py 文件源码

python
阅读 30 收藏 0 点赞 0 评论 0

项目:Parallel.GAMIT 作者: demiangomez 项目源码 文件源码
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
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号