The array property Items allows to access the individual items of the spectral collection. The parameter idx is the index of the referenced item in the collection (valid range: 0...NSpectra-1). Please note that the index might change when adding or deleting spectra. Thus it is necessary that you always use the unique ItemId to address a particular entry in the collection (use the function IndexOfSpec to find for a given ItemId the corresponding index).
|