Hello,
I have to simulate a sensor response, which has spectral response functions of Gaussian from 380 to 2510 nm with 10 nm sampling and 12 nm FWHM.
sigma = FWHM / 2.35
mean = 0
array = RANDOMN(seed, 60) ; it is 60, assuming 30th band is the center band.
new_distribution = array * sigma + mean
However, the generated numbers are not what I expected, ranging from -5 to 5. I was expecting a set of numbers ranging between 0 and 1, center band has the highest value 1, FWHM of the bell curve is 12nm. Please comment if I am missing something here.
Thanks
Best
|