-
As far as I understand, RMS, or root-mean-square, is just a kind of average, like mean or median e.g. In the wiki article it says it "defined as the square root of the mean square (the arithmetic mean of the squares of a set of numbers)". So how can the RMS serve as an error? Is it possible that instead of the RMS, the RMSE, i.e. the root-mean-square-error is calculated? In any case, I guess it is calculated from the background, but I couldn't find a reference to how this is done anywhere (neither in the SEP or SE documentation). I even tried looking into the source code of SE, but I didn't manage to figure it out (I don't speak C). I guess the the error in a pixel is somehow related to how far it is off from the avarage local background, but I really don't know. Also the RMS value is different for each pixel, so I guess some kind of smoothing is also applied (supposedly the same natural bicubic spline interpolation that is also applied to the background). |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
You seem to be on the right track here. To estimate the error,
|
Beta Was this translation helpful? Give feedback.
You seem to be on the right track here. To estimate the error,
sep
first calculates the background level for an image, and then subtracts that off. Once this is done, you should only be left with noise from the uncertainties in each pixel.sep
then calculates the RMS of the residual values for each pixel after the background was removed. This RMS is an estimate of the standard deviation since the mean of the image has been removed (see e.g. https://en.wikipedia.org/wiki/Root_mean_square#Relationship_to_other_statistics).sep
estimates the background and RMS in patches across the image. By default, the patches are 64x64 pixels. It then interpolates the background and RMS values between the…