The question if stacking all subs at once will give you the same result as stacking subs into subsets and stack those subsets together is one that pops up quite often. You might have a lot of frames to stack and you’re computer has trouble handling it, or you might have data from several nights and want to combine them; are you better of stacking all individual subs together or can you just stack each subset that you stacked every night?
To answer this question I did a test on my data I have from my Sagittarius Triplet picture, since I have 75 subs to work with. But before we do let’s think for a sec about what’s really happening when we stack subs together and how that is impacted by stacking subsets.
What happens when we stack subsets
To understand what happens when we are stacking subsets and how that impacts the total stack we need to remember what is going on when we stack and how this benefits the SNR and dynamic range.
Perhaps the most important thing to realise is the way stacking benefits SNR. Random noise will have a Gaussian distribution, which means it’s average will approach the central value of this distribution. In case of random noise this should be zero, so it cancels out the noise. In order for this to work you need enough samples to get a nice symmetric Gaussian distribution. If you take few random samples (stack fewer frames) this noise distribution won’t be a nice symmetric normal distribution and thus won’t cancell out as well as when you add a lot of samples and get a very good and clear Gaussian distribution.
In other words; if you stack fewer frames the (random) noise cancellation will be less accurate, and that is why we benefit from stacking more frames.
So if you stack subsets you’ll loose this benefit, hurting the SNR in your final stack.
An analysis of stacking subsets
To put the theories to the test I’ve analysed the effects of stacking subsets and compare them to the equivalent stack with the same # of subs.
Let’s look at noise levels first;
When we look at the noise levels we can see that overall it supports the idea that noise levels will be lower in the ‘total-stack’ than the subsets stacked together. We do see the reverse at 75 frames for some reason which I can’t explain by just looking at the noise level. So let’s look at overall SNRWeight;
Apart from 1 measurement that seems of, we do see a consistent picture; stacking all frames together is better than stacking subset. We now also see this at 75 frames, so whatever caused the noise level to be higher than a subset, also caused the signal to be higher (even stronger) resulting in still better SNRWeight.
Conclusion on stacking subsets versus stacking all subs at once
The conclusion is simple enough; unless you have real good reasons to stack a subset, you are better of by stacking all subs at once.