Getflatness - JDS Uniphase SWS15100 User Manual

Swept wavelength systems
Table of Contents

Advertisement

double interLevel:
The interpolation level is the height from the peak where the bandwidth is
calculated.
unsigned short uhRefWave:
This is the reference wavelength, or the nominal center wavelength around
which the passband is computed.
Output
unsigned short *pdPassBand:
This is the computed passband in the wavelength range specified.
Return Value
When there is no error, the function returns zero.
When there is an error, the return value contains the error number.

getFlatness

Description
The getFlatness function computes the flatness of the trace in the pPowData
power array, within a specified wavelength range. Call the function after
obtaining pPowData array through a call to the getILTrace function. The
refpeak parameter must be specified by the caller.
C prototype
int getFlatness( double *pLamData, double *pPowData, unsigned short
uhDataSize, double dStartWave, double dStopWave, double *pdPowFlatness
);
VB prototype
Declare Function getLocalPassBand Lib "SWS15100" (ByRef pLamData As
Double, ByRef pPowData As Double, ByVal uhDataSize%, ByVal dStartWave
As Double, Byval dStopWave As Double, ByRef pdPowFlatness As Double)
As Long
Input
double *pLamData:
The pLamData array stores wavelength points of the trace.
double *pPowData:
The pPowData array stores IL power level (dB scale) points. Each point from
the pPowData array has a corresponding point in the pLamData array.
unsigned short dataSize:
This is the size of arrays pLamData and pPowData allocated by the user. This
is the size of the acquired trace retrieved by the user using the function
getDataSize.
double dStartWave:
Specifies the wavelength at which to start processing.
double dStopWave:
Specifies the wavelength at which to stop processing.
Output
unsigned short *pdPowFlatness:
This is the computed flatness in the wavelength range specified.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Programming Guide – 151

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents