![JDS Uniphase SWS15100 User Manual Download Page 164](http://html1.mh-extra.com/html/jds-uniphase/sws15100/sws15100_user-manual_3587431164.webp)
Programming Guide –
149
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.
unsigned short refpeak
:
This is an integer set of values:
{MAX_PEAK_REF = 0 (find maximum peaks),
MIN_PEAK_REF = 1 (find minimum peaks)}
unsigned short baseref
:
This is Boolean. For minimum peaks, the baseref is 1 and the bandwidth of the
peak is calculated from the base of the peak. For maximum peaks, the baseref
is 0 and the bandwidth is calculated from the peak.
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 double *pdPassBand:
This is the computed passband for the full wavelength range.
Return value:
When there is no error, the function returns zero.
When there is an error, the return value contains the error number.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com