Home
Script Language
Spectral Collection
Class TSpecCollection
Methods
WLToIndexRounded
See also:
IndexToWL
,
WLToIndex
,
WorldToIndexRounded
Index
Statistical Background
WLToIndexRounded
Declaration:
TSpecCollection
.
WLToIndexRounded
(wl: double; grp: integer): integer;
Converts the wavelength
wl
to the corresponding rounded index (1-based!). The
grp
parameter specifies the
spectral group number
.
Hint:
In order to access the spectral collection currently loaded in the
Spectral Collection Editor
you can use the pre-declared global variable
SCData
.