|
Correlation Library DLL
1.0
|
#include "Constants.h"Defines | |
| #define | ERR_NULL_OBJECT -5 |
Functions | |
| void * | CreateScaledCorrelationComputerBB (int piScaleWindow, int piCorrelationWindow, int piTrialLength, int &piIsError) |
| Creates an object that computes scaled correlation on a pair of binary - binary signals. | |
| void | FreeScaledCorrelationComputerBB (void *pvObject) |
| Destructor for scaled correlation objects on binary-binary pairs; always call this to cleanup your data space. | |
| void | ComputeScaledCorrelationBB (void *pvObject, int *piaTimeStampsA, int piNrTimeStampsInA, int *piaTimeStampsB, int piNrTimeStampsInB, int pbUseFisherZTransform) |
| Compute the scaled correlation of two vectors of time stamps. | |
| void | ComputeWindowedScaledCorrelationPerTrialBB (void *pvObject, int *piaTimeStampsA, int piNrTimeStampsInA, int *piaTimeStampsB, int piNrTimeStampsInB, int piFromOffsetInTrial, int piToOffsetInTrial, int pbUseFisherZTransform) |
| Compute the scaled correlation of two vectors of time stamps, on a partial window of the trial; ONLY ACCEPTS ONE TRIAL!!! | |
| float * | GetScaledCrossCorrelogramBB (void *pvObject) |
| Returns the buffer with the computed scaled-cross-correlogram; returns NULL if there was an error; please check the buffer for NULL before using it!! | |
| float * | GetFiCoefficientSumsBB (void *pvObject) |
| Returns the sum of valid Fi coefficients of correlation for each bin of the correlogram. | |
| int * | GetFiCoefficientCountsBB (void *pvObject) |
| Returns how many Fi coefficients of correlation have been averaged for each bin of the scaled cross correlogram. | |
| int * | GetDistributionOfCorrelationCoefficientsBB (void *pvObject, int &piNumberOfBins, float &pfBinSize) |
| Returns the distribution of coefficients of correlation. | |
| int | ScaledCorrelationModifyScaleWindowBB (void *pvObject, int piNewScale) |
| Changes the scale window for the scaled correlation;. | |
| int | ScaledCorrelationModifyCorrelationWindowBB (void *pvObject, int piNewCorrelationWindow) |
| Set the size of the correlation window; the parameter specifies the correlation window; for example for a window of -100..+100 pass 100 as a parameter. | |
| int | ScaledCorrelationModifyTrialLengthBB (void *pvObject, int piNewTrialLength) |
| Set the length of the trial in original sampling units. | |
| int | ScaledCorrelationModifyAllParametersBB (void *pvObject, int piNewScale, int piNewCorrelationWindow, int piNewTrialLength) |
| Sets all parameters at once. | |
| int | ScaledCorrelationGetScaleWindowBB (void *pvObject) |
| Get the size of the current scale window. | |
| int | ScaledCorrelationGetCorrelationWindowBB (void *pvObject) |
| Get the size of the correlation window. | |
| int | ScaledCorrelationGetTrialLengthBB (void *pvObject) |
| Get the trial length in original sampling units. | |
| int | GetDistributionOfCorrelationCoefficientsBinNrBB (void *pvObject) |
| Get the number of bins of the distribution of coefficients of correlation. | |
| float | GetDistributionOfCorrelationCoefficientsBinSizeBB (void *pvObject) |
| Get the size of a bin of the distribution of coefficients of correlation. | |
| void * | CreateScaledCorrelationComputerCC (int piScaleWindow, int piCorrelationWindow, int piTrialLength, int &piIsError) |
| Creates an object that computes scaled correlation on a pair of continuous - continuous signals. | |
| void | FreeScaledCorrelationComputerCC (void *pvObject) |
| Destructor for scaled correlation objects on continuous-continuous input pairs; always call this to cleanup your data space. | |
| void | ComputeScaledCorrelationCC (void *pvObject, float *pfaSamplesA, int piNrSamplesInA, float *pfaSamplesB, int piNrSamplesInB, int pbUseFisherZTransform) |
| Compute the scaled correlation of two digitized continuous signals. | |
| void | ComputeWindowedScaledCorrelationPerTrialCC (void *pvObject, float *pfaSamplesA, int piNrSamplesInA, float *pfaSamplesB, int piNrSamplesInB, int piFromOffsetInTrial, int piToOffsetInTrial, int pbUseFisherZTransform) |
| Compute the scaled correlation of two digitized continuous signals, on a partial window of the trial; ONLY ACCEPTS ONE TRIAL!!! | |
| float * | GetScaledCrossCorrelogramCC (void *pvObject) |
| Returns the buffer with the computed scaled correlogram; returns NULL if there was an error; please check the buffer for NULL before using it!! | |
| float * | GetPearsonCoefficientSumsCC (void *pvObject) |
| Returns the sum of valid Pearson coefficients of correlation for each bin of the correlogram. | |
| int * | GetPearsonCoefficientCountsCC (void *pvObject) |
| int * | GetDistributionOfCorrelationCoefficientsCC (void *pvObject, int &piNumberOfBins, float &pfBinSize) |
| Returns the distribution of coefficients of correlation. | |
| int | ScaledCorrelationModifyScaleWindowCC (void *pvObject, int piNewScale) |
| Changes the scale segment size for the scaled correlation. | |
| int | ScaledCorrelationModifyCorrelationWindowCC (void *pvObject, int piNewCorrelationWindow) |
| Set the size of the correlation window; the parameter specifies the correlation window; for example for a window of -100..+100 pass 100 as a parameter. | |
| int | ScaledCorrelationModifyTrialLengthCC (void *pvObject, int piNewTrialLength) |
| Set the length of the trial in original sampling units. | |
| int | ScaledCorrelationModifyAllParametersCC (void *pvObject, int piNewScale, int piNewCorrelationWindow, int piNewTrialLength) |
| Sets all parameters at once. | |
| int | ScaledCorrelationGetScaleWindowCC (void *pvObject) |
| Get the size of the current scale window. | |
| int | ScaledCorrelationGetCorrelationWindowCC (void *pvObject) |
| Get the size of the correlation window. | |
| int | ScaledCorrelationGetTrialLengthCC (void *pvObject) |
| Get the trial length in original sampling units. | |
| int | GetDistributionOfCorrelationCoefficientsBinNrCC (void *pvObject) |
| Get the number of bins of the distribution of coefficients of correlation. | |
| float | GetDistributionOfCorrelationCoefficientsBinSizeCC (void *pvObject) |
| Get the size of a bin of the distribution of coefficients of correlation. | |
| void * | CreateScaledCorrelationComputerBC (int piScaleWindow, int piCorrelationWindow, int piTrialLength, int &piIsError) |
| Creates an object that computes scaled correlation on a pair of binary - continuous signals. | |
| void | FreeScaledCorrelationComputerBC (void *pvObject) |
| Destructor for scaled correlation objects on binary-continuous input pairs; always call this to cleanup your data space. | |
| void | ComputeScaledCorrelationBC (void *pvObject, int *piaTimeStampsA, int piNrTimeStampsInA, float *pfaSamplesB, int piNrSamplesInB, int pbUseFisherZTransform) |
| Compute the scaled correlation of one binary signal with one continuos signal. | |
| float * | GetScaledCrossCorrelogramBC (void *pvObject) |
| Returns the buffer with the computed scaled correlogram; returns NULL if there was an error; please check the buffer for NULL before using it!! | |
| float * | GetPBsCoefficientSumsBC (void *pvObject) |
| Returns the sum of valid Point Biserial coefficients of correlation for each bin of the correlogram. | |
| int * | GetPBsCoefficientCountsBC (void *pvObject) |
| Returns how many Point Biserial coefficients of correlation have been averaged for each bin of the scaled cross correlogram. | |
| int * | GetDistributionOfCorrelationCoefficientsBC (void *pvObject, int &piNumberOfBins, float &pfBinSize) |
| Returns the distribution of coefficients of correlation. | |
| int | ScaledCorrelationModifyScaleWindowBC (void *pvObject, int piNewScale) |
| Changes the scale window for the scaled correlation. | |
| int | ScaledCorrelationModifyCorrelationWindowBC (void *pvObject, int piNewCorrelationWindow) |
| Set the size of the correlation window; the parameter specifies the correlation window; for example for a window of -100..+100 pass 100 as a parameter;. | |
| int | ScaledCorrelationModifyTrialLengthBC (void *pvObject, int piNewTrialLength) |
| Set the length of the trial in original sampling units. | |
| int | ScaledCorrelationModifyAllParametersBC (void *pvObject, int piNewScale, int piNewCorrelationWindow, int piNewTrialLength) |
| Sets all parameters at once. | |
| int | ScaledCorrelationGetScaleWindowBC (void *pvObject) |
| Get the size of the current scale window. | |
| int | ScaledCorrelationGetCorrelationWindowBC (void *pvObject) |
| Get the size of the correlation window. | |
| int | ScaledCorrelationGetTrialLengthBC (void *pvObject) |
| Get the trial length in original sampling units. | |
| int | GetDistributionOfCorrelationCoefficientsBinNrBC (void *pvObject) |
| Get the number of bins of the distribution of coefficients of correlation. | |
| float | GetDistributionOfCorrelationCoefficientsBinSizeBC (void *pvObject) |
| Get the size of a bin of the distribution of coefficients of correlation. | |
| void * | CreateCrossCorrelationComputerBB (int piCorrelationWindow, int piTrialLength, int &piIsError) |
| Creates an object that computes cross-correlation on a pair of binary - binary signals. | |
| void | FreeCrossCorrelationComputerBB (void *pvObject) |
| Destructor for cross-correlation objects on binary-binary input pairs; always call this to cleanup your data space. | |
| void | ComputeCrossCorrelationBB (void *pvObject, int *piaTimeStampsA, int piNrTimeStampsInA, int *piaTimeStampsB, int piNrTimeStampsInB, int pbNormalizeCorrelogram) |
| Compute the cross-correlation of two vectors of time stamps. | |
| void | ComputeWindowedCrossCorrelationPerTrialBB (void *pvObject, int *piaTimeStampsA, int piNrTimeStampsInA, int *piaTimeStampsB, int piNrTimeStampsInB, int piFromOffsetInTrial, int piToOffsetInTrial, int pbNormalizeCorrelogram) |
| Compute the cross-correlation of two vectors of time stamps, on a partial window of the trial. ONLY ACCEPTS ONE TRIAL!!! | |
| float * | GetCrossCorrelogramBB (void *pvObject) |
| Returns the buffer with the computed cross-correlogram; returns NULL if there was an error; please check the buffer for NULL before using it!! | |
| int | CrossCorrelationModifyCorrelationWindowBB (void *pvObject, int piNewCorrelationWindow) |
| Set the size of the correlation window; the parameter specifies the correlation window; for example for a window of -100..+100 pass 100 as a parameter. | |
| int | CrossCorrelationModifyTrialLengthBB (void *pvObject, int piNewTrialLength) |
| Set the length of the trial in original sampling units. | |
| int | CrossCorrelationModifyAllParametersBB (void *pvObject, int piNewCorrelationWindow, int piNewTrialLength) |
| Sets all parameters at once. | |
| int | CrossCorrelationGetCorrelationWindowBB (void *pvObject) |
| Get the size of the correlation window. | |
| int | CrossCorrelationGetTrialLengthBB (void *pvObject) |
| Get the trial length in original sampling units. | |
| void * | CreateCrossCorrelationComputerCC (int piCorrelationWindow, int piTrialLength, int &piIsError) |
| Creates an object that computes cross-correlation on a pair of continuous - continuous signals. | |
| void | FreeCrossCorrelationComputerCC (void *pvObject) |
| Destructor for cross-correlation objects on continuous-continuous input pairs; always call this to cleanup your data space. | |
| void | ComputeCrossCorrelationCC (void *pvObject, float *pfaSamplesA, int piNrSamplesInA, float *pfaSamplesB, int piNrSamplesInB, int piNormalizationFlag) |
| Compute the cross-correlation of two vectors of samples. | |
| void | ComputeWindowedCrossCorrelationPerTrialCC (void *pvObject, float *pfaSamplesA, int piNrSamplesInA, float *pfaSamplesB, int piNrSamplesInB, int piFromOffsetInTrial, int piToOffsetInTrial, int piNormalizationFlag) |
| Compute the cross-correlation of two digitized continuous signals, on a partial window of the trial. | |
| float * | GetCrossCorrelogramCC (void *pvObject) |
| Returns the buffer with the computed cross-correlogram; returns NULL if there was an error; please check the buffer for NULL before using it!! | |
| int | CrossCorrelationModifyCorrelationWindowCC (void *pvObject, int piNewCorrelationWindow) |
| Set the size of the correlation window; the parameter specifies the correlation window; for example for a window of -100..+100 pass 100 as a parameter. | |
| int | CrossCorrelationModifyTrialLengthCC (void *pvObject, int piNewTrialLength) |
| Set the length of the trial in original sampling units. | |
| int | CrossCorrelationModifyAllParametersCC (void *pvObject, int piNewCorrelationWindow, int piNewTrialLength) |
| Sets all parameters at once. | |
| int | CrossCorrelationGetCorrelationWindowCC (void *pvObject) |
| Get the size of the correlation window. | |
| int | CrossCorrelationGetTrialLengthCC (void *pvObject) |
| Get the trial length in original sampling units. | |
| void * | CreateCrossCorrelationComputerBC (int piCorrelationWindow, int piTrialLength, int &piIsError) |
| Creates an object that computes cross-correlation on a pair of binary - continuous signals. | |
| void | FreeCrossCorrelationComputerBC (void *pvObject) |
| Destructor for cross-correlation objects on binary-continuous input pairs; always call this to cleanup your data space. | |
| void | ComputeCrossCorrelationBC (void *pvObject, int *piaTimeStampsA, int piNrTimeStampsInA, float *pfaSamplesB, int piNrSamplesInB, int pbNormalizeCorrelogram) |
| Compute the cross-correlation of one binary signal with one continuos signal. | |
| float * | GetCrossCorrelogramBC (void *pvObject) |
| Returns the buffer with the computed cross-correlogram; returns NULL if there was an error; please check the buffer for NULL before using it!! | |
| int | CrossCorrelationModifyCorrelationWindowBC (void *pvObject, int piNewCorrelationWindow) |
| Set the size of the correlation window; for example for a window of -100..+100 pass 100 as a parameter. | |
| int | CrossCorrelationModifyTrialLengthBC (void *pvObject, int piNewTrialLength) |
| Set the length of the trial in original sampling units. | |
| int | CrossCorrelationModifyAllParametersBC (void *pvObject, int piNewCorrelationWindow, int piNewTrialLength) |
| Sets all parameters at once. | |
| int | CrossCorrelationGetCorrelationWindowBC (void *pvObject) |
| Get the size of the correlation window. | |
| int | CrossCorrelationGetTrialLengthBC (void *pvObject) |
| Get the trial length in original sampling units. | |
| #define ERR_NULL_OBJECT -5 |
| void ComputeCrossCorrelationBB | ( | void * | pvObject, |
| int * | piaTimeStampsA, | ||
| int | piNrTimeStampsInA, | ||
| int * | piaTimeStampsB, | ||
| int | piNrTimeStampsInB, | ||
| int | pbNormalizeCorrelogram | ||
| ) |
Compute the cross-correlation of two vectors of time stamps.
| pvObject | - Pointer to the object that computes the cross correlation; please instantiate first using the CreateCrossCorrelationComputerBB function |
| piaTimeStampsA | - The vector holding the time stamps of the first binary variable |
| piNrTimeStampsInA | - Number of time stamps in the first vector |
| piaTimeStampsB | - The vector holding the time stamps of the second binary variable |
| piNrTimeStampsInB | - Number of time stamps in the second vector |
| pbNormalizeCorrelogram | - Set to 1 to normalize the correlogram; normalization is made by dividing the correlogram to the number of time stamps in the first buffer (rate-normalized correlogram) |
| void ComputeCrossCorrelationBC | ( | void * | pvObject, |
| int * | piaTimeStampsA, | ||
| int | piNrTimeStampsInA, | ||
| float * | pfaSamplesB, | ||
| int | piNrSamplesInB, | ||
| int | pbNormalizeCorrelogram | ||
| ) |
Compute the cross-correlation of one binary signal with one continuos signal.
| pvObject | - Pointer to the object that computes the cross-correlation; please instantiate first using the CreateCrossCorrelationComputerBC function |
| piaTimeStampsA | - The vector holding the time stamps of the binary variable |
| piNrTimeStampsInA | - Number of time stamps in the first vector |
| pfaSamplesB | - The vector holding samples of the continuous signal |
| piNrSamplesInB | - Number of samples in the second vector |
| pbNormalizeCorrelogram | - Set to 1 to normalize the correlogram; ; normalization is made by dividing to the number of time stamps used to compute the correlogram |
| void ComputeCrossCorrelationCC | ( | void * | pvObject, |
| float * | pfaSamplesA, | ||
| int | piNrSamplesInA, | ||
| float * | pfaSamplesB, | ||
| int | piNrSamplesInB, | ||
| int | piNormalizationFlag | ||
| ) |
Compute the cross-correlation of two vectors of samples.
If the number of samples passed is larger than the size of one trial, then the signals are divided into trials and the results are eventually averaged over trials
| pvObject | - Pointer to the object that computes the cross-correlation; please instantiate first using the CreateCrossCorrelationComputerCC function |
| pfaSamplesA | - The vector holding the samples of the first signal |
| piNrSamplesInA | - Number of samples in the first vector |
| pfaSamplesB | - The vector holding the samples of the second signal |
| piNrSamplesInB | - Number of samples in the second vector |
| piNormalizationFlag | - Flag that decides how to normalize the correlogram: 0 - unnormalized, biased; 1 - normalized, biased; 2 - unnormalized, unbiased; 3 - normalized, unbiased; normalization removes the dependency on the length of the signals and gives values in cross-product units of the continuous variables; unbias removes the dependency on the finite length of signal windows |
| void ComputeScaledCorrelationBB | ( | void * | pvObject, |
| int * | piaTimeStampsA, | ||
| int | piNrTimeStampsInA, | ||
| int * | piaTimeStampsB, | ||
| int | piNrTimeStampsInB, | ||
| int | pbUseFisherZTransform | ||
| ) |
Compute the scaled correlation of two vectors of time stamps.
| pvObject | - Pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerBB function |
| piaTimeStampsA | - The vector holding the time stamps of the first binary variable |
| piNrTimeStampsInA | - Number of time stamps in the first vector |
| piaTimeStampsB | - The vector holding the time stamps of the second binary variable |
| piNrTimeStampsInB | - Number of time stamps in the second vector |
| pbUseFisherZTransform | - Set to 1 to use the Fisher Z transform to average the coefficients of correlation; set to 0 for normal computation; |
| void ComputeScaledCorrelationBC | ( | void * | pvObject, |
| int * | piaTimeStampsA, | ||
| int | piNrTimeStampsInA, | ||
| float * | pfaSamplesB, | ||
| int | piNrSamplesInB, | ||
| int | pbUseFisherZTransform | ||
| ) |
Compute the scaled correlation of one binary signal with one continuos signal.
| pvObject | - Pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerBC function |
| piaTimeStampsA | - The vector holding the time stamps of the binary variable |
| piNrTimeStampsInA | - Number of time stamps in the first vector |
| pfaSamplesB | - The vector holding samples of the continuous signal |
| piNrSamplesInB | - Number of samples in the second vector |
| pbUseFisherZTransform | - Set to 1 to use the Fisher Z transform to average the coefficients of correlation; set to 0 for normal computation; |
| void ComputeScaledCorrelationCC | ( | void * | pvObject, |
| float * | pfaSamplesA, | ||
| int | piNrSamplesInA, | ||
| float * | pfaSamplesB, | ||
| int | piNrSamplesInB, | ||
| int | pbUseFisherZTransform | ||
| ) |
Compute the scaled correlation of two digitized continuous signals.
| pvObject | - Pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerCC function |
| pfaSamplesA | - The vector holding the first signal's input samples |
| piNrSamplesInA | - Number of samples in the first vector |
| pfaSamplesB | - The vector holding the second signal's input samples |
| piNrSamplesInB | - Number of samples in the second vector |
| pbUseFisherZTransform | - Set to 1 to use the Fisher Z transform to average the coefficients of correlation; set to 0 for normal computation; |
| void ComputeWindowedCrossCorrelationPerTrialBB | ( | void * | pvObject, |
| int * | piaTimeStampsA, | ||
| int | piNrTimeStampsInA, | ||
| int * | piaTimeStampsB, | ||
| int | piNrTimeStampsInB, | ||
| int | piFromOffsetInTrial, | ||
| int | piToOffsetInTrial, | ||
| int | pbNormalizeCorrelogram | ||
| ) |
Compute the cross-correlation of two vectors of time stamps, on a partial window of the trial. ONLY ACCEPTS ONE TRIAL!!!
| pvObject | - Pointer to the object that computes the cross correlation; please instantiate first using the CreateCrossCorrelationComputerBB function |
| piaTimeStampsA | - The vector holding the time stamps of the first binary variable |
| piNrTimeStampsInA | - Number of time stamps in the first vector |
| piaTimeStampsB | - The vector holding the time stamps of the second binary variable |
| piNrTimeStampsInB | - Number of time stamps in the second vector |
| piFromOffsetInTrial | - The start offset in the trial where the desired window starts (time stamp) |
| piToOffsetInTrial | - The end offset in the trial where the desired window stops (time stamp) |
| pbNormalizeCorrelogram | - Set to 1 to normalize the correlogram |
| void ComputeWindowedCrossCorrelationPerTrialCC | ( | void * | pvObject, |
| float * | pfaSamplesA, | ||
| int | piNrSamplesInA, | ||
| float * | pfaSamplesB, | ||
| int | piNrSamplesInB, | ||
| int | piFromOffsetInTrial, | ||
| int | piToOffsetInTrial, | ||
| int | piNormalizationFlag | ||
| ) |
Compute the cross-correlation of two digitized continuous signals, on a partial window of the trial.
| pvObject | - Pointer to the object that computes the cross-correlation; please instantiate first using the CreateCrossCorrelationComputerCC function |
| pfaSamplesA | - The vector holding the samples of the first signal |
| piNrSamplesInA | - Number of samples in the first vector |
| pfaSamplesB | - The vector holding the samples of the second signal |
| piNrSamplesInB | - Number of samples in the second vector |
| piFromOffsetInTrial | - The start offset in the trial where the desired window starts |
| piToOffsetInTrial | - The end offset in the trial where the desired window stops |
| piNormalizationFlag | - Flag that decides how to normalize the correlogram: 0 - unnormalized, biased; 1 - normalized, biased; 2 - unnormalized, unbiased; 3 - normalized, unbiased; normalization removes the dependency on the length of the signals and gives values in cross-product units of the continuous variables; unbias removes the dependency on the finite length of signal windows |
| void ComputeWindowedScaledCorrelationPerTrialBB | ( | void * | pvObject, |
| int * | piaTimeStampsA, | ||
| int | piNrTimeStampsInA, | ||
| int * | piaTimeStampsB, | ||
| int | piNrTimeStampsInB, | ||
| int | piFromOffsetInTrial, | ||
| int | piToOffsetInTrial, | ||
| int | pbUseFisherZTransform | ||
| ) |
Compute the scaled correlation of two vectors of time stamps, on a partial window of the trial; ONLY ACCEPTS ONE TRIAL!!!
| pvObject | - Pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerBB function |
| piaTimeStampsA | - The vector holding the time stamps of the first binary variable |
| piNrTimeStampsInA | - Number of time stamps in the first vector |
| piaTimeStampsB | - The vector holding the time stamps of the second binary variable |
| piNrTimeStampsInB | - Number of time stamps in the second vector |
| piFromOffsetInTrial | - The start offset in the trial where the desired window starts |
| piToOffsetInTrial | - The end offset in the trial where the desired window stops |
| pbUseFisherZTransform | - Set to 1 to use the Fisher Z transform to average the coefficients of correlation; set to 0 for normal computation |
| void ComputeWindowedScaledCorrelationPerTrialCC | ( | void * | pvObject, |
| float * | pfaSamplesA, | ||
| int | piNrSamplesInA, | ||
| float * | pfaSamplesB, | ||
| int | piNrSamplesInB, | ||
| int | piFromOffsetInTrial, | ||
| int | piToOffsetInTrial, | ||
| int | pbUseFisherZTransform | ||
| ) |
Compute the scaled correlation of two digitized continuous signals, on a partial window of the trial; ONLY ACCEPTS ONE TRIAL!!!
| pvObject | - Pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerCC function |
| pfaSamplesA | - The vector holding the first signal's input samples |
| piNrSamplesInA | - Number of samples in the first vector |
| pfaSamplesB | - The vector holding the second signal's input samples |
| piNrSamplesInB | - Number of samples in the second vector |
| piFromOffsetInTrial | - The start offset in the trial where the desired window starts |
| piToOffsetInTrial | - The end offset in the trial where the desired window stops |
| pbUseFisherZTransform | - Set to 1 to use the Fisher Z transform to average the coefficients of correlation; set to 0 for normal computation; |
| void* CreateCrossCorrelationComputerBB | ( | int | piCorrelationWindow, |
| int | piTrialLength, | ||
| int & | piIsError | ||
| ) |
Creates an object that computes cross-correlation on a pair of binary - binary signals.
| piCorrelationWindow | - The size of the cross-correlation window (eg. 80 for a cross-correlation with laggs from -80 to +80); use the same units as the sampling of your samples |
| piTrialLength | - The size of the trial in units of your samples |
| piIsError | - A return parameter, set to 0 on success. It is set to -1 by the constructor if there is a mismatch of window sizes and the GetCrossCorrelogramBB() function will return NULL |
| void* CreateCrossCorrelationComputerBC | ( | int | piCorrelationWindow, |
| int | piTrialLength, | ||
| int & | piIsError | ||
| ) |
Creates an object that computes cross-correlation on a pair of binary - continuous signals.
| piCorrelationWindow | - The size of the cross-correlation window (eg. 80 for a cross-correlation with lags of -80..+80); use the same units as the sampling units |
| piTrialLength | - The size of the trial in original sampling units |
| piIsError | - A return parameter, set to 0 on success. It is set to -1 by the constructor if there is a mismatch of window sizes and the GetCrossCorrelogram() function will return NULL |
| void* CreateCrossCorrelationComputerCC | ( | int | piCorrelationWindow, |
| int | piTrialLength, | ||
| int & | piIsError | ||
| ) |
Creates an object that computes cross-correlation on a pair of continuous - continuous signals.
| piCorrelationWindow | - The size of the cross-correlation window (eg. 80 for a cross-correlation with laggs from -80 to +80); use the same units as the sampling of your samples |
| piTrialLength | - The size of the trial in units of your samples |
| piIsError | - A return parameter, set to 0 on success. It is set to -1 by the constructor if there is a mismatch of window sizes and the GetCrossCorrelogram() function will return NULL |
| void* CreateScaledCorrelationComputerBB | ( | int | piScaleWindow, |
| int | piCorrelationWindow, | ||
| int | piTrialLength, | ||
| int & | piIsError | ||
| ) |
Creates an object that computes scaled correlation on a pair of binary - binary signals.
| piScaleWindow | - The scale on which you compute the scaled correlation; use the same units as the sampling unit of your time stamps |
| piCorrelationWindow | - The size of the cross correlation window (eg. 80 for a cross correlation with lags of -80..+80); use the same units as the sampling of your time stamps |
| piTrialLength | - The size of the trial in units of your time stamps |
| piIsError | - A return parameter, set to 0 on success. It is set to -1 by the constructor if there is a mismatch of window sizes and the GetScaledCorrelogram() function will return NULL |
| void* CreateScaledCorrelationComputerBC | ( | int | piScaleWindow, |
| int | piCorrelationWindow, | ||
| int | piTrialLength, | ||
| int & | piIsError | ||
| ) |
Creates an object that computes scaled correlation on a pair of binary - continuous signals.
| piScaleWindow | - The scale on which you compute the scaled correlation; use the same units as the sampling unit of your time stamps |
| piCorrelationWindow | - The size of the cross-correlation window (eg. 80 for a cross-correlation with lags of -80..+80); use again the same units as the sampling of your time stamps |
| piTrialLength | - The size of the trial in original sampling units |
| piIsError | - A return parameter, set to 0 on success. It is set to -1 by the constructor if there is a mismatch of window sizes and the GetScaledCorrelogram() function will return NULL |
| void* CreateScaledCorrelationComputerCC | ( | int | piScaleWindow, |
| int | piCorrelationWindow, | ||
| int | piTrialLength, | ||
| int & | piIsError | ||
| ) |
Creates an object that computes scaled correlation on a pair of continuous - continuous signals.
| piScaleWindow | - The scale on which you compute the scaled correlation; use the same units as the sampling unit of your signals |
| piCorrelationWindow | - The size of the cross correlation window (eg. 80 for a cross correlation with lags of -80..+80); use again the same units as the sampling of your signals |
| piTrialLength | - The size of the trial in sampling units of your signals |
| piIsError | - A return parameter, set to 0 on success. It is set to -1 by the constructor if there is a mismatch of window sizes and the GetScaledCorrelogram() function will return NULL |
| int CrossCorrelationGetCorrelationWindowBB | ( | void * | pvObject | ) |
Get the size of the correlation window.
| pvObject | - Pointer to the object that computes the cross correlation; please instantiate first using the CreateCrossCorrelationComputerBB function |
| int CrossCorrelationGetCorrelationWindowBC | ( | void * | pvObject | ) |
Get the size of the correlation window.
| pvObject | - Pointer to the object that computes the cross-correlation; please instantiate first using the CreateCrossCorrelationComputerBC function |
| int CrossCorrelationGetCorrelationWindowCC | ( | void * | pvObject | ) |
Get the size of the correlation window.
| pvObject | - Pointer to the object that computes the cross-correlation; please instantiate first using the CreateCrossCorrelationComputerCC function |
| int CrossCorrelationGetTrialLengthBB | ( | void * | pvObject | ) |
Get the trial length in original sampling units.
| pvObject | - Pointer to the object that computes the cross correlation; please instantiate first using the CreateCrossCorrelationComputerBB function |
| int CrossCorrelationGetTrialLengthBC | ( | void * | pvObject | ) |
Get the trial length in original sampling units.
| pvObject | - Pointer to the object that computes the cross-correlation; please instantiate first using the CreateCrossCorrelationComputerBC function |
| int CrossCorrelationGetTrialLengthCC | ( | void * | pvObject | ) |
Get the trial length in original sampling units.
| pvObject | - Pointer to the object that computes the cross-correlation; please instantiate first using the CreateCrossCorrelationComputerCC function |
| int CrossCorrelationModifyAllParametersBB | ( | void * | pvObject, |
| int | piNewCorrelationWindow, | ||
| int | piNewTrialLength | ||
| ) |
Sets all parameters at once.
| pvObject | - Pointer to the object that computes the cross correlation; please instantiate first using the CreateCrossCorrelationComputerBB function |
| piNewCorrelationWindow | - The new correlation window |
| piNewTrialLength | - The new length of the trial |
| int CrossCorrelationModifyAllParametersBC | ( | void * | pvObject, |
| int | piNewCorrelationWindow, | ||
| int | piNewTrialLength | ||
| ) |
Sets all parameters at once.
| pvObject | - Pointer to the object that computes the cross-correlation; please instantiate first using the CreateCrossCorrelationComputerBC function |
| piNewCorrelationWindow | - The new correlation window |
| piNewTrialLength | - The new length of the trial |
| int CrossCorrelationModifyAllParametersCC | ( | void * | pvObject, |
| int | piNewCorrelationWindow, | ||
| int | piNewTrialLength | ||
| ) |
Sets all parameters at once.
| pvObject | - Pointer to the object that computes the cross-correlation; please instantiate first using the CreateCrossCorrelationComputerCC function |
| piNewCorrelationWindow | - The new correlation window |
| piNewTrialLength | - The new length of the trial |
| int CrossCorrelationModifyCorrelationWindowBB | ( | void * | pvObject, |
| int | piNewCorrelationWindow | ||
| ) |
Set the size of the correlation window; the parameter specifies the correlation window; for example for a window of -100..+100 pass 100 as a parameter.
| pvObject | - Pointer to the object that computes the cross correlation; please instantiate first using the CreateCrossCorrelationComputerBB function |
| piNewCorrelationWindow | - The new correlation window |
| int CrossCorrelationModifyCorrelationWindowBC | ( | void * | pvObject, |
| int | piNewCorrelationWindow | ||
| ) |
Set the size of the correlation window; for example for a window of -100..+100 pass 100 as a parameter.
| pvObject | - Pointer to the object that computes the cross-correlation; please instantiate first using the CreateCrossCorrelationComputerBC function |
| piNewCorrelationWindow | - Specifies the new correlation window |
| int CrossCorrelationModifyCorrelationWindowCC | ( | void * | pvObject, |
| int | piNewCorrelationWindow | ||
| ) |
Set the size of the correlation window; the parameter specifies the correlation window; for example for a window of -100..+100 pass 100 as a parameter.
| pvObject | - Pointer to the object that computes the cross-correlation; please instantiate first using the CreateCrossCorrelationComputerCC function |
| piNewCorrelationWindow | - Specifies the new correlation window |
| int CrossCorrelationModifyTrialLengthBB | ( | void * | pvObject, |
| int | piNewTrialLength | ||
| ) |
Set the length of the trial in original sampling units.
| pvObject | - Pointer to the object that computes the cross correlation; please instantiate first using the CreateCrossCorrelationComputerBB function |
| piNewTrialLength | - The new length of the trial |
| int CrossCorrelationModifyTrialLengthBC | ( | void * | pvObject, |
| int | piNewTrialLength | ||
| ) |
Set the length of the trial in original sampling units.
| pvObject | - Pointer to the object that computes the cross-correlation; please instantiate first using the CreateCrossCorrelationComputerBC function |
| piNewTrialLength | - The new length of the trial |
| int CrossCorrelationModifyTrialLengthCC | ( | void * | pvObject, |
| int | piNewTrialLength | ||
| ) |
Set the length of the trial in original sampling units.
| pvObject | - Pointer to the object that computes the cross-correlation; please instantiate first using the CreateCrossCorrelationComputerCC function |
| piNewTrialLength | - The new length of the trial |
| void FreeCrossCorrelationComputerBB | ( | void * | pvObject | ) |
Destructor for cross-correlation objects on binary-binary input pairs; always call this to cleanup your data space.
| pvObject | - Pointer to the object that computes the cross-correlation; please instantiate first using the CreateCrossCorrelationComputerBB function |
| void FreeCrossCorrelationComputerBC | ( | void * | pvObject | ) |
Destructor for cross-correlation objects on binary-continuous input pairs; always call this to cleanup your data space.
| pvObject | - Pointer to the object that computes the cross-correlation; please instantiate first using the CreateCrossCorrelationComputerBC function |
| void FreeCrossCorrelationComputerCC | ( | void * | pvObject | ) |
Destructor for cross-correlation objects on continuous-continuous input pairs; always call this to cleanup your data space.
| pvObject | - Pointer to the object that computes the cross-correlation; please instantiate first using the CreateCrossCorrelationComputerCC function |
| void FreeScaledCorrelationComputerBB | ( | void * | pvObject | ) |
Destructor for scaled correlation objects on binary-binary pairs; always call this to cleanup your data space.
| pvObject | - Pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerBB function |
| void FreeScaledCorrelationComputerBC | ( | void * | pvObject | ) |
Destructor for scaled correlation objects on binary-continuous input pairs; always call this to cleanup your data space.
| pvObject | - Pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerBC function |
| void FreeScaledCorrelationComputerCC | ( | void * | pvObject | ) |
Destructor for scaled correlation objects on continuous-continuous input pairs; always call this to cleanup your data space.
| pvObject | - pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerCC function |
| float* GetCrossCorrelogramBB | ( | void * | pvObject | ) |
Returns the buffer with the computed cross-correlogram; returns NULL if there was an error; please check the buffer for NULL before using it!!
The size of the cross correlogram buffer is (2*iCorrelationWindow+1), and element with lag 0 is at position iCorrelationWindow.
| pvObject | - Pointer to the object that computes the cross correlation; please instantiate first using the CreateCrossCorrelationComputerBB function |
| float* GetCrossCorrelogramBC | ( | void * | pvObject | ) |
Returns the buffer with the computed cross-correlogram; returns NULL if there was an error; please check the buffer for NULL before using it!!
The size of the cross correlogram buffer is (2*iCorrelationWindow+1), and element with lag 0 is at position iCorrelationWindow.
| pvObject | - Pointer to the object that computes the cross-correlation; please instantiate first using the CreateCrossCorrelationComputerBC function |
| float* GetCrossCorrelogramCC | ( | void * | pvObject | ) |
Returns the buffer with the computed cross-correlogram; returns NULL if there was an error; please check the buffer for NULL before using it!!
The size of the cross-correlogram buffer is (2*iCorrelationWindow+1), and element with lag 0 is at position iCorrelationWindow;
| pvObject | - Pointer to the object that computes the cross-correlation; please instantiate first using the CreateCrossCorrelationComputerCC function |
| int* GetDistributionOfCorrelationCoefficientsBB | ( | void * | pvObject, |
| int & | piNumberOfBins, | ||
| float & | pfBinSize | ||
| ) |
Returns the distribution of coefficients of correlation.
| pvObject | - Pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerBB function |
| piNumberOfBins | - The number of bins in the distribution (return parameter) |
| pfBinSize | - The number of bins in the distribution (return) |
| int* GetDistributionOfCorrelationCoefficientsBC | ( | void * | pvObject, |
| int & | piNumberOfBins, | ||
| float & | pfBinSize | ||
| ) |
Returns the distribution of coefficients of correlation.
| pvObject | - Pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerBC function |
| piNumberOfBins | - The number of bins in the distribution (output parameter) |
| pfBinSize | - The size of one bin of the distribution (output parameter) |
| int GetDistributionOfCorrelationCoefficientsBinNrBB | ( | void * | pvObject | ) |
Get the number of bins of the distribution of coefficients of correlation.
| pvObject | - Pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerBB function |
| int GetDistributionOfCorrelationCoefficientsBinNrBC | ( | void * | pvObject | ) |
Get the number of bins of the distribution of coefficients of correlation.
| pvObject | - Pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerBC function |
| int GetDistributionOfCorrelationCoefficientsBinNrCC | ( | void * | pvObject | ) |
Get the number of bins of the distribution of coefficients of correlation.
| pvObject | - Pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerCC function |
| float GetDistributionOfCorrelationCoefficientsBinSizeBB | ( | void * | pvObject | ) |
Get the size of a bin of the distribution of coefficients of correlation.
| pvObject | - Pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerBB function |
| float GetDistributionOfCorrelationCoefficientsBinSizeBC | ( | void * | pvObject | ) |
Get the size of a bin of the distribution of coefficients of correlation.
| pvObject | - Pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerBC function |
| float GetDistributionOfCorrelationCoefficientsBinSizeCC | ( | void * | pvObject | ) |
Get the size of a bin of the distribution of coefficients of correlation.
| pvObject | - Pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerCC function |
| int* GetDistributionOfCorrelationCoefficientsCC | ( | void * | pvObject, |
| int & | piNumberOfBins, | ||
| float & | pfBinSize | ||
| ) |
Returns the distribution of coefficients of correlation.
| pvObject | - Pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerCC function |
| piNumberOfBins | - The number of bins in the distribution (output parameter) |
| pfBinSize | - The size of one bin of the distribution (output parameter) |
| int* GetFiCoefficientCountsBB | ( | void * | pvObject | ) |
Returns how many Fi coefficients of correlation have been averaged for each bin of the scaled cross correlogram.
| pvObject | - Pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerBB function |
| float* GetFiCoefficientSumsBB | ( | void * | pvObject | ) |
Returns the sum of valid Fi coefficients of correlation for each bin of the correlogram.
The size of the buffer is (2*iCorrelationWindow+1), and the sum of coefficients for lag 0 is at position iCorrelationWindow. Use this function to get the sum of all valid coefficients that were used to compute the average correlation coefficient for each bin of the ScaledCrossCorrelogram: ScaledCrossCorrelogram[i] = FiCoefficientSums[i] / FiCoefficientCounts[i].
| pvObject | - Pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerBB function |
| int* GetPBsCoefficientCountsBC | ( | void * | pvObject | ) |
Returns how many Point Biserial coefficients of correlation have been averaged for each bin of the scaled cross correlogram.
| pvObject | - Pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerBC function |
| float* GetPBsCoefficientSumsBC | ( | void * | pvObject | ) |
Returns the sum of valid Point Biserial coefficients of correlation for each bin of the correlogram.
The size of the buffer is (2*iCorrelationWindow+1), and the sum of coefficients for lag 0 is at position iCorrelationWindow. Use this function to get the sum of all valid coefficients that were used to compute the average correlation coefficient for each bin of the ScaledCrossCorrelogram: ScaledCrossCorrelogram[i] = PBsCoefficientSums[i] / PBsCoefficientCounts[i].
| pvObject | - Pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerBC function |
| int* GetPearsonCoefficientCountsCC | ( | void * | pvObject | ) |
| pvObject | - Pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerCC function |
| float* GetPearsonCoefficientSumsCC | ( | void * | pvObject | ) |
Returns the sum of valid Pearson coefficients of correlation for each bin of the correlogram.
The size of the buffer is (2*iCorrelationWindow+1), and the sum of coefficients for lag 0 is at position iCorrelationWindow. Use this function to get the sum of all valid coefficients that were used to compute the average correlation coefficient for each bin of the ScaledCrossCorrelogram: ScaledCrossCorrelogram[i] = PearsonCoefficientSums[i] / PearsonCoefficientCounts[i].
| pvObject | - Pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerCC function |
| float* GetScaledCrossCorrelogramBB | ( | void * | pvObject | ) |
Returns the buffer with the computed scaled-cross-correlogram; returns NULL if there was an error; please check the buffer for NULL before using it!!
The size of the scaled correlogram buffer is (2*iCorrelationWindow+1), and element with lag 0 is at position iCorrelationWindow;
| pvObject | - Pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerBB function |
| float* GetScaledCrossCorrelogramBC | ( | void * | pvObject | ) |
Returns the buffer with the computed scaled correlogram; returns NULL if there was an error; please check the buffer for NULL before using it!!
The size of the scaled correlogram buffer is (2*iCorrelationWindow+1), and element with lag 0 is at position iCorrelationWindow;
| pvObject | - Pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerBC function |
| float* GetScaledCrossCorrelogramCC | ( | void * | pvObject | ) |
Returns the buffer with the computed scaled correlogram; returns NULL if there was an error; please check the buffer for NULL before using it!!
The size of the scaled correlogram buffer is (2*iCorrelationWindow+1), and element with lag 0 is at position iCorrelationWindow;
| pvObject | - Pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerCC function |
| int ScaledCorrelationGetCorrelationWindowBB | ( | void * | pvObject | ) |
Get the size of the correlation window.
| pvObject | - Pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerBB function |
| int ScaledCorrelationGetCorrelationWindowBC | ( | void * | pvObject | ) |
Get the size of the correlation window.
| pvObject | - Pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerBC function |
| int ScaledCorrelationGetCorrelationWindowCC | ( | void * | pvObject | ) |
Get the size of the correlation window.
| pvObject | - Pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerCC function |
| int ScaledCorrelationGetScaleWindowBB | ( | void * | pvObject | ) |
Get the size of the current scale window.
| pvObject | - Pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerBB function |
| int ScaledCorrelationGetScaleWindowBC | ( | void * | pvObject | ) |
Get the size of the current scale window.
| pvObject | - Pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerBC function |
| int ScaledCorrelationGetScaleWindowCC | ( | void * | pvObject | ) |
Get the size of the current scale window.
| pvObject | - Pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerCC function |
| int ScaledCorrelationGetTrialLengthBB | ( | void * | pvObject | ) |
Get the trial length in original sampling units.
| pvObject | - Pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerBB function |
| int ScaledCorrelationGetTrialLengthBC | ( | void * | pvObject | ) |
Get the trial length in original sampling units.
| pvObject | - Pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerBC function |
| int ScaledCorrelationGetTrialLengthCC | ( | void * | pvObject | ) |
Get the trial length in original sampling units.
| pvObject | - Pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerCC function |
| int ScaledCorrelationModifyAllParametersBB | ( | void * | pvObject, |
| int | piNewScale, | ||
| int | piNewCorrelationWindow, | ||
| int | piNewTrialLength | ||
| ) |
Sets all parameters at once.
| pvObject | - Pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerBB function |
| piNewScale | - The new size of the scale segment |
| piNewCorrelationWindow | - The new size of the correlation window |
| piNewTrialLength | - The new length of the trial |
| int ScaledCorrelationModifyAllParametersBC | ( | void * | pvObject, |
| int | piNewScale, | ||
| int | piNewCorrelationWindow, | ||
| int | piNewTrialLength | ||
| ) |
Sets all parameters at once.
| pvObject | - Pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerBC function |
| piNewScale | - The new size of the scale segment |
| piNewCorrelationWindow | - The new size of the correlation window |
| piNewTrialLength | - The new length of the trial |
| int ScaledCorrelationModifyAllParametersCC | ( | void * | pvObject, |
| int | piNewScale, | ||
| int | piNewCorrelationWindow, | ||
| int | piNewTrialLength | ||
| ) |
Sets all parameters at once.
| pvObject | - Pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerCC function |
| piNewScale | - The new size of the scale segment |
| piNewCorrelationWindow | - The new size of the correlation window |
| piNewTrialLength | - The new length of the trial |
| int ScaledCorrelationModifyCorrelationWindowBB | ( | void * | pvObject, |
| int | piNewCorrelationWindow | ||
| ) |
Set the size of the correlation window; the parameter specifies the correlation window; for example for a window of -100..+100 pass 100 as a parameter.
| pvObject | - Pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerBB function |
| piNewCorrelationWindow | - The new size of the correlation window |
| int ScaledCorrelationModifyCorrelationWindowBC | ( | void * | pvObject, |
| int | piNewCorrelationWindow | ||
| ) |
Set the size of the correlation window; the parameter specifies the correlation window; for example for a window of -100..+100 pass 100 as a parameter;.
| pvObject | - Pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerBC function |
| piNewCorrelationWindow | - The new size of the correlation window |
| int ScaledCorrelationModifyCorrelationWindowCC | ( | void * | pvObject, |
| int | piNewCorrelationWindow | ||
| ) |
Set the size of the correlation window; the parameter specifies the correlation window; for example for a window of -100..+100 pass 100 as a parameter.
| pvObject | - Pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerCC function |
| piNewCorrelationWindow | - The new size of the correlation window |
| int ScaledCorrelationModifyScaleWindowBB | ( | void * | pvObject, |
| int | piNewScale | ||
| ) |
Changes the scale window for the scaled correlation;.
| pvObject | - Pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerBB function |
| piNewScale | - The new size of the scale segment |
| int ScaledCorrelationModifyScaleWindowBC | ( | void * | pvObject, |
| int | piNewScale | ||
| ) |
Changes the scale window for the scaled correlation.
| pvObject | - Pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerBC function |
| piNewScale | - The new size of the scale segment |
| int ScaledCorrelationModifyScaleWindowCC | ( | void * | pvObject, |
| int | piNewScale | ||
| ) |
Changes the scale segment size for the scaled correlation.
| pvObject | - Pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerCC function |
| piNewScale | - The new size of the scale segment |
| int ScaledCorrelationModifyTrialLengthBB | ( | void * | pvObject, |
| int | piNewTrialLength | ||
| ) |
Set the length of the trial in original sampling units.
| pvObject | - Pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerBB function |
| piNewTrialLength | - The new length of the trial |
| int ScaledCorrelationModifyTrialLengthBC | ( | void * | pvObject, |
| int | piNewTrialLength | ||
| ) |
Set the length of the trial in original sampling units.
| pvObject | - Pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerBC function |
| piNewTrialLength | - The new length of the trial |
| int ScaledCorrelationModifyTrialLengthCC | ( | void * | pvObject, |
| int | piNewTrialLength | ||
| ) |
Set the length of the trial in original sampling units.
| pvObject | - Pointer to the object that computes the scaled correlation; please instantiate first using the CreateScaledCorrelationComputerCC function |
| piNewTrialLength | - The new length of the trial |