GSRadomaUtilityClass.dll
Minimal documentation for (x86) platform
Dependencies:
Installation: -- see GSRadomaClassLibrary.dll -- Installation
StrayLightClass
An instance of this class provides the interface to the stray light application methods. Note: the application of stray light must occur after wavelength calibration and before any amplitude calibration or processing.
- StrayLightClass(string filename) -- constructor
- .ApplyStrayLight(float[] rawdata) -- applies the stray light matrix to the spectrum. Returns the number of corrected elements (type: int).
- float[] rawdata -- the spectrum array to be corrected.
For Example: straylight.ApplyStrayLight(data.Amplitudes)
- .GetStrayLightFilename() -- returns the file name of the loaded stray light file (type: string)
- .GetStrayLightMatrixRows() -- returns the number of rows in the stray light matrix (type: int)
- .GetStrayLightMatrixColumns() -- returns the number of colums in the stray light matrix (type: int)