Eddy-current losses in code | StemPy Lab