Code to support chi-squared coaddition of images: sum of image^2/variance
Functions available from C++ and Python:
Classes available only from Python: