We implement an algorithm based on the weighted stacking of astronomical images that can combine different observations of the same region of the sky removing the interfering signals. We develop a C++ code that takes as input a set of spectral cubes and computes the local weights of the intensity for each pixel of every channel. The weights are calculated as the inverse variance of th... https://www.popularfilm.blog/