Residuals and traps | StemPy Lab