calc_residual ============= .. currentmodule:: stellarphot.utils .. autofunction:: calc_residual