get_wavelength


Description:

[ Version ( since = "1.1.6" ) ]
public double get_wavelength (uint idx)

Gets the wavelenth that corresponds to the specified index.

Parameters:

this

a Spectrum instance.

idx

an index into the data

Returns:

wavelenth value in nm, or -1 for invalid