You are here: Start » AVL.NET » AVS.ProfileCorrelation Method

AVS.ProfileCorrelation Method

Computes the correlation between two sub-profiles.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void ProfileCorrelation
(
	AvlNet.Profile inProfile1,
	int inStart1,
	AvlNet.Profile inProfile2,
	int inStart2,
	int? inLength,
	out float outCorrelation,
	NullableValue<float> outCovariance,
	AvlNet.Profile diagProfile1,
	AvlNet.Profile diagProfile2
)

Parameters

Name Type Range Default Description
inProfile1AvlNet.ProfileFirst input profile.
inStart1int<0, INF>Start of the first sub-profile of interest.
inProfile2AvlNet.ProfileSecond input profile.
inStart2int<0, INF>Start of the second sub-profile of interest.
inLengthint?<0, INF>Length of the sub-profiles of interest. Default value: atl::NIL.
outCorrelationfloatPearson correlation coefficient.
outCovarianceAvlNet.NullableValue<float> Can be null to skip this parameter calculation.
diagProfile1AvlNet.ProfileFirst sub-profile of interest.
diagProfile2AvlNet.ProfileSecond sub-profile of interest.

Function Overrides

See also