Exemple #1
0
    def transformDelta(self):
        '''
        Computes the m(\delta) 
        '''
        M = []
        H = self.__H
        for idx in range(self.__N):
            idelta = self.__delta[idx]
            m = self.__deltaToDistance(idelta, H, idx)
            M.append(m)

        return M
Exemple #2
0
    def transformDelta(self, offset=0):
        '''
        Computes the m(\delta) 
        '''
        assert offset <= 1, "Only single offset is logical"
        M = []
        H = self.__H
        for idx, idelta in enumerate(self.__delta[offset:]):
            m = self.__deltaToDistance(idelta, H, idx)
            M.append(m)

        return M
Exemple #3
0
    def __deltaGToDistance(self, delta, H):
        '''
        Computes the mdelta for each points
        '''
        idx = self.__N - 1
        coVarMat = self.__coVarMat[idx][:2, :2]

        mdelta = []
        for idelta in delta:
            M = []
            for cdelta, iH in zip(idelta, H):
                M.append(0)
            mdelta.append(M)

        return mdelta