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:
mtype (int, str, variogram_model_types) –
dist_units (int, str, xoa.geo.distance_units) –
**frozen_params – Varigram paramaters that must be frozen.
Methods
apply
(d[, pp])Call the variogram model function
fit
(da, **kwargs)Estimate parameters from data
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 the
estimated_params
as an arrayplot
([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 arrayAttributes
Distance units of type
distance_units
Estimated paramaters as
dict
Frozen parameters
Current variogram model parameters