docs for physics.pyx