예제 #1
0
파일: search.py 프로젝트: lli7/geostatpy
    def __init__(self, points, azimuth=0.0, anisotropy=1.0):
        n, m = points.shape

        if m != 2:
            raise KrigingSetupException("points are not 2D")

        #create rotmat
        rotmat = make_rotation_matrix2D(azimuth, anisotropy)

        KDTree.__init__(self, points, rotmat)
예제 #2
0
    def __init__(self,points,azimuth=0.0,anisotropy=1.0):
        n,m = points.shape
        
        if m != 2:
            raise KrigingSetupException("points are not 2D")

        #create rotmat
        rotmat = make_rotation_matrix2D(azimuth,anisotropy)
        
        KDTree.__init__(self,points,rotmat)
예제 #3
0
 def __init__(self,structure_type,sill,ranges,angle=0.0):
     VariogramStructure.__init__(self,structure_type,sill,ranges,angle)
     self._rotmat = make_rotation_matrix2D(angle,ranges[1]/ranges[0])
예제 #4
0
 def __init__(self,nugget=0.0):
     VariogramModel.__init__(self,nugget)
     self._default_rotmat = make_rotation_matrix2D(0.0,0.0)
예제 #5
0
 def __init__(self,structure_type,sill,ranges,angle=0.0):
     VariogramStructure.__init__(self,structure_type,sill,ranges,angle)
     self._rotmat = make_rotation_matrix2D(angle,ranges[1]/ranges[0])
예제 #6
0
 def __init__(self,nugget=0.0):
     VariogramModel.__init__(self,nugget)
     self._default_rotmat = make_rotation_matrix2D(0.0,0.0)