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