Implementing Beam/Frame Analysis in Python