InitCalib

Declaration: TSpecCollection.InitCalib (SourceMData: TMetaData);
The method InitCalib initializes the calibration data of the spectral collection by copying the calibration information from an external meta information specified by the parameter SourceMData.

Please note that the calibration data of a spectral collection has to match the dataset of which the spectra in the collection have been obtained. Setting the spectral calibration data to a wrong meta data container results in unpredictable problems.

Hint: In order to access the spectral collection currently loaded in the Spectral Collection Editor you can use the pre-declared global variable SCData.