Calculating the bound spectrum by path summation in action-angle variables | Synapse