VPSpectralDatabase GetSpectraFromFile Method Virtual Photonics - VTS Library
Virtual Photonics
Creates a dictionary of chromophore spectra from a file stream of tab-delimited data, converts the data to work in the VTS The header data is written as a comment line starting with % Tab delimited data is in the format: Wavelength 1st Column 2nd Column 3rd Column ...

Namespace: Vts.SpectralMapping
Assembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Syntax

public static IList<ChromophoreSpectrum> GetSpectraFromFile(
	Stream fileStream,
	bool convert
)

Parameters

fileStream
Type: OnlineSystem.IO Stream
The file stream of spectral data
convert
Type: OnlineSystem Boolean
Boolean which is true if the data should be converted

Return Value

Type: OnlineIList ChromophoreSpectrum 
The dictionary of chromophore spectrum
See Also