I'm doing a project, where I scan over a sample recording a spectrum at each position. Although the sample is supposed uniform, there's a large difference in the overall spectral response of each individual position. So, recording a single point does not give a correct representation of the sample. I compare to an average of 1000 points.

I wish to make an analysis on how many points to include in an average before it represents the sample correctly. So far, I have made an analysis in MATLAB where I take n point out of the 1000 point total measurement, find the average spectrum and find the correlation to the 1000 point average. A problem is, that I also observe a difference in correlation depending on what n point I average over. That is, a 10 point average is not the same as a 10 point average another place.

How can I make an analysis including all the data, where I find the lowest amount of points anywhere still resulting in a representative spectrum of the sample? A "representative spectrum" can be a spectrum with a correlation coefficient above 0.9 compared to the 1000 point average.

More Thorsten Bæk's questions See All
Similar questions and discussions