コード例 #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
ファイル: kriging.py プロジェクト: hc10024/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)
コード例 #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
ファイル: variogram.py プロジェクト: exepulveda/geostatpy
 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
ファイル: variogram.py プロジェクト: exepulveda/geostatpy
 def __init__(self,nugget=0.0):
     VariogramModel.__init__(self,nugget)
     self._default_rotmat = make_rotation_matrix2D(0.0,0.0)