xoa.krig.VariogramModel

class xoa.krig.VariogramModel(mtype, dist_units='m', **frozen_params)[source]

Class used when fitting a variogram model to data to better control params

Parameters:
__init__(mtype, dist_units='m', **frozen_params)[source]

Methods

apply(d[, pp])

Call the variogram model function

fit(da, **kwargs)

Estimate parameters from data

get_estimated_params()

Get parameters that were estimated (not frozen)

get_func([pp])

Get the variogram model function using pp variable arguments

get_param(name)

Get a single parameter

get_params(**params)

Get current parameters with optional update

get_params_array()

Get the estimated_params as an array

plot([rmax, nr, show_params])

Plot the semivariogram

set_estimated_params([overwrite])

Set the value to no frozen paramters

set_params(**params)

Freeze some parameters

set_params_array(pp)

Set the estimated_param with an array

Attributes

dist_units

Distance units of type distance_units

estimated_params

Estimated paramaters as dict

frozen_params

Frozen parameters

param_names

params

Current variogram model parameters