Hi,
People often ask whether itâs better to stack a bunch of images first and then do photometry, or to measure each frame individually and just average the results. The annoying but honest answer is: it depends â mainly on what kind of variable youâre observing and what timescales you care about.
If all your frames have the same exposure time and similar quality, then in purely mathematical terms, stacking them with an average and then doing photometry is almost equivalent to doing photometry on each frame and averaging the fluxes afterwards. The SNR improves roughly as âN in both cases. But in real data things are rarely that clean: seeing changes, focus drifts, transparency varies, guiding isnât perfect, the background changes, some frames get hit by cosmic rays or satellites, etc. When you stack everything into a single image, you lose information about how the star (and the atmosphere) behaved over time between individual exposures. With median stacking, you also gain robustness against outliers, but you pay with some SNR and still end up with a ârepresentativeâ image, not a time series.
Thatâs why for serious time-series work the usual approach is: calibrate every frame, do differential photometry on each one, and then decide how to bin in time. For slow, long-period, bright variables (Mira, SR, etc.), having 50Ă20 s exposures doesnât mean much relative to a period of hundreds of days. In that regime itâs perfectly reasonable to combine 3â5 frames and treat them as one point in the light curve for that night â you donât really lose any interesting variability on those short timescales.
For exoplanet transits or eclipsing binaries, things are very different. For cataclysmic variables and other objects with fast, stochastic variability, aggressive averaging is even more problematic. There the goal is to preserve as much time resolution as possible, not to smooth everything until it looks pretty. Itâs usually better to choose an exposure time that already gives a usable SNR per frame and, at most, bin 2â3 points later if things are really noisy.
So, very roughly: stacking is great for pretty pictures, and for very slow variables where you only care about a long-term trend. For scientific time-series photometry of most variable stars, the safer workflow is: process each frame individually, do your differential photometry per frame, and then average/bin in time in a way that doesnât destroy the time structure you actually want to study.
Nikola