Virtual PhotonicsThe SpectralDatabase type exposes the following members.
Back to Top
Methods
| Name | Description | |
|---|---|---|
| AppendDatabaseFromFile |
Appends a new chromophore spectral dictionary created from a tab-delimited stream onto an existing dictionary of chromophore spectra
| |
| GetDatabaseFromFile |
Returns a dictionary of Chromophore spectra from the specified file
| |
| GetDefaultDatabaseFromFileInResources |
Returns a dictionary of Chromophore spectra from the file SpectralDictionary.xml in resources
| |
| GetSpectraFromFile |
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 ...
| |
| GetSpectrumValue |
Method to retrieve a spectral value keyed by it's name in the database
| |
| SaveDatabaseToFile |
Saves a given dictionary of Chromophore spectra to the specified file
| |
| WriteDatabaseToFiles |
Writes the Chromophore dictionary to separate text files
|
See Also