GetNthSpecRoi

Category: Data Processing and Evaluation – Spectra
Author:
Description: The function returns the n-th ROI in a LinePlot display (counted from left), if it exists. It returns 0 on errors and 1 on success. The range (left,right) as well as the ROI-ID are returned into variables. The optional paramter DEBUG gives additonal output.
Comments: There is a limitation (or conflict) in User Defined Language with DM script. The operation "/" and "*" cannot be defined as operators in Notepad++ once we define "/*" and "*/" as comment block markers. So I have left "/" and "*" out from the operator list
Script version: 1.0
DM/GMS version: 3.9.0
Script written as a function: Yes
Source: Show code
Download Source Code: Download
Download Zip File: Download