| Algorithm 1: Spectra mix |
|
Data: C set of two PGs to mix s, sr sample and reference spectra inttime list of individual integration times N number of samples to be simulated Result: sm spectra mix of binary combination C
// compute shares per component for every mixture
// calculate integration time factors
// choose randomly component spectra
// compute mix spectra |