VarioComponent Object

The VarioComponent object encapsulates the parameters for a single variogram component. One or more variogram components are combined to form a variogram model. VarioComponents are created by the Application.NewVarioComponent method.

The following table provides all properties of the VarioComponent object. All these properties are read only.

Property

Description

AnisotropyAngle

Returns the anisotropy angle in degrees (not used for nugget).

AnisotropyRatio

Returns the anisotropy ratio (not used for nugget).

Application

Returns the application object.

LowerFitLimit

Returns the lower autofit limit for the specified parameter.

Param1

Returns the scale, slope for linear variogram, or error variance for nugget.

Param2

Returns the length (micro variance for nugget).

Parent

Returns the parent object.

Power

Returns the power used (power component only).

Type

Returns the component type.

UpperFitLimit

Returns the upper autofit limit for the specified parameter.

Following table provides all methods of the VarioComponent object:

Method

Description

Set

Sets the parameters for this variogram component.

SetFitLimits

Sets the autofit parameter limits.

Example

The following script demonstrates how the VarioComponent object is used in reference to the Application object.

Sub Main

 

'Declares SurferApp as an object

Dim SurferApp As Object

 

'Creates an instance of the Surfer Application object and assigns it

'to the variable named "SurferApp"

Set SurferApp = CreateObject("Surfer.Application")

 

'Makes Surfer visible

SurferApp.Visible = True

 

'Declares VarioComponent as an object

Dim VarioComponent As Object

 

'Creates a single variogram component and assigns it to the variable

'named "VarioComponent"

Set VarioComponent = SurferApp.NewVarioComponent(srfVarPower, Power:=1.2, _

AnisotropyRatio:=5, AnisotropyAngle:=35)

 

End Sub