Helper for accelerator physics methods References: https://learn.scientific-python.org/development/guides/packaging-simple/