I am trying to do some error analysis for an experiment involving laser diagnostics and I have a question about computing the standard error for a spatial average.
The experiment involves taking images of the laser with a camera. The laser is focused into a 'line' using a cylindrical lens, which effectively results in a 1D profile of the laser intensity on the camera sensor. Several hundred images/frames are taken and these are averaged to give a mean beam intensity profile and to eliminate noise.
So, essentially, there are M pixels along that 1D line, which each have their own measure of intensity, and there are N frames, which are averaged to give the mean intensity of each pixel.
The question I have is that we also want to take a spatial average of the intensity profile along a subset of those M pixels (let's say M'); however, I am unsure how to calculate that standard error for that. The calculations I have tried seem to be giving a vanishingly small error, which seems implausible.
So, essentially we have an average over the N frames for each pixel intensity:
$$\mu_{Nj} = \frac{1}{N} \sum_{i=1}^{N} x_i$$
and then the spatial average is as follows:
$$\mu_{M'} = \frac{1}{M'} \sum_{j=1}^{M'} \mu_{Nj}$$
So, it is an 'average of averages' and I am not sure what the proper way is to find the standard error of that. For the $\mu_{Nj}$, I believe we can use the typical standard error formula:
$$S_{Nj} = \frac{\sigma_{Nj}}{\sqrt{N}}$$
but for the $\mu_{M'}$ I am not so sure. It seems that this must be quite a common situation and I suspect there is a probably standard way of doing it.
Please let me know if the question seems unclear and I will do my best to clarify.