Example #1
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)
Example #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)
Example #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])
Example #4
0
 def __init__(self,nugget=0.0):
     VariogramModel.__init__(self,nugget)
     self._default_rotmat = make_rotation_matrix2D(0.0,0.0)
Example #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])
Example #6
0
 def __init__(self,nugget=0.0):
     VariogramModel.__init__(self,nugget)
     self._default_rotmat = make_rotation_matrix2D(0.0,0.0)