Nscurve.ColumnAvg()

<< Click to Display Table of Contents >>

Navigation:  Explain™ Control Language  > Library Routines > Curve classes > class NSCURVE >

Nscurve.ColumnAvg()

Description

Return the average of a class DATACOL object used in the Nscurve.AddPoint() member function.

 

This function allows returns a real number, given an index referencing the raw DATACOL object (usually from an IVT curve).

 

Type

INSTANCE FUNCTION

 

Usage

Average = Nscurve.ColumnAvg(Column)

 

Column

INDEX

The column number of the raw data used in Nscurve.AddPoint() from which to return the average:

0 = Voltage

1 = Current

 

or use the predefined constants:

NSCURVE_Vf

NSCURVE_Im

Average

REAL

The average of the data in the DATACOL object.