12.07.2015 Views

T a b l e o f C o n t e n t s - ILPhotonics.com

T a b l e o f C o n t e n t s - ILPhotonics.com

T a b l e o f C o n t e n t s - ILPhotonics.com

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CDI_SetupPeakDataSyntax: CDI_SetupPeakData( int BaseType,float BaseThreshold,float BasePctThreshold,float PeakThreshold,float DyDxMin,BOOL m_PksOnline)This function is called to setup the peak detection calculations. Peak data is returned in theARRAY_OF_PEAK_TYPE and PEAK_TYPE structures as defined in CDI32.H.__declspec(dllexport) void WINAPI CDI_SetupPeakData(intfloatfloatfloatfloatBOOLParametersBaseTypeBaseType,BaseThreshold,BasePctThreshold,PeakThreshold,DyDxMin,m_PksOnline);int variable in which the type of baseline is specified. The baseline is used to find thebase (or start) of a peak. Three different baseline algorithms are defined:BaseType = 0 to Select Dy/Dx (derivative) type BaselineBaseType = 1 to Select Percent-of-Max type BaselineBaseType = 2 to Select Fixed Level BaselineBaseThresholdBasePctThresholdPeakThresholdDyDxMinsingle precision float variable in which baseline threshold is specified in the currentlyselected spectral data units. The baseline threshold is used to identify potentialpeaks in the spectrum. The start of the peak occurs at the wavelength where thespectral amplitude exceeds the baseline threshold, and the end of the peak occurs atthe wavelength where the spectral amplitude returns to a value less than thebaseline threshold.single precision float variable in which baseline threshold is specified in percent ofmaximum. BasePctThreshold is only used when a Percent-of-Max type Baselineselected, otherwise its value is ignored.single precision float variable in which peak threshold is specified in the currentlyselected spectral data units. The peak threshold is the minimum size peak which isdetected by the algorithm. Whenever the maximum spectral amplitude between thebaseline wavelengths exceeds the peak threshold, a peak is detected. SetPeakThreshold to the minimum size peak desired. If PeakThreshold is too small,then noise peaks may be detected.single precision float variable in which derivative threshold is specified the currentlyselected spectral data units per nm. The derivative method <strong>com</strong>putes the derivativeof the spectrum (dY / dX), and finds the peaks near the zero crossing of thederivative. The max value of the spectrum is reported as a peak if it exceeds thePeak Threshold setting. This is the most sensitive method for peak detection,detecting small peaks even on the shoulders of larger peaks. Use the derrivativemethod for sharp peaks such as emission lines. DyDxMin is used only whenBaseType = 0 (derivative).23

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!