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)
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)
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])
def __init__(self,nugget=0.0): VariogramModel.__init__(self,nugget) self._default_rotmat = make_rotation_matrix2D(0.0,0.0)