CERN PyHEADTAIL numerical n-body simulation code for simulating macro-particle beam dynamics with collective effects
Jupyter Notebook Python Other
Latest commit cec59ee Jul 5, 2016 @aoeftiger aoeftiger Merge tag 'v1.10.4'
PyHEADTAIL v1.10.4
Permalink
Failed to load latest commit information.
aperture Aperture class handles works correctly when all particles are lost Mar 13, 2015
cobra_functions Removed get_beta_broken Apr 24, 2015
feedback fixed feedback __init__.py for importing version Jan 10, 2015
field_maps Transverse Field Map: enable verbose flag for PyPIC (since 2.0) Jun 20, 2016
general RFSystems is able to get rid of saved Kick instances. Jul 10, 2015
gpu GPU version of LongWrapper, longitudinal wrapping. Aug 5, 2015
impedances Hotfix: Bug in longitudinal resonator wake. Remove clip which resulte… Apr 14, 2016
machines Remove **kwargs from BasicSynchrotron class. Mar 23, 2016
monitors BunchMonitor/SliceMonitor prep for GPU Nov 24, 2015
multipoles Rename SkewThinQuadrupole to ThinSkewQuadrupole. Mar 29, 2016
particles Merge branch 'master' into develop May 28, 2016
radiation Change name of radiation module Mar 1, 2016
rfq Add a Python version of the rfq module. Mainly to prepare for running… Nov 2, 2015
solvers Doc string adapted Jun 19, 2015
spacecharge Transverse space charge: typo fixed Jun 22, 2016
testing Added interactive test to check that multipole formula Mar 29, 2016
trackers Hotfix: Linear longitudinal tracking accepts Qs... Jun 13, 2016
.gitignore gitignore adapted to mac os x Mar 10, 2015
Makefile Using Makefile instead of unclear ./install script. Jan 18, 2016
README.md Update README.md Feb 12, 2016
__init__.py added ListProxy in new module general.utils Feb 10, 2015
_version.py versioning: only amend 4th number if different from master version! Jan 18, 2016
pre-push.py pre-commit -> pre-push Aug 20, 2015
setup.py Add a Python version of the rfq module. Mainly to prepare for running… Nov 2, 2015

README.md

PyHEADTAIL

CERN PyHEADTAIL numerical n-body simulation code for simulating macro-particle beam dynamics with collective effects.

Currently only a git-clone of the repository is supported. The available zip files on github are missing the versioning and will not allow ./install to work.

Installation

Installation of PyHEADTAIL on linux (having git installed) is straight forward.

  • Clone the repository in a local folder:

$ git clone https://github.com/PyCOMPLETE/PyHEADTAIL

  • Go to the folder and run the installation script:

$ cd PyHEADTAIL

$ make

And there you go, start using PyHEADTAIL!

$ cd ..

$ ipython

...

In [1]: import PyHEADTAIL

PyHEADTAIL v1.4.0-0-g8422af8081


Please use the pre-push script 'pre-push.py' if you want to contribute to the repository. It only lets you push to the develop and master branch if no unit tests fail.

To install (creates a symlink): ln -s ../../pre-push.py .git/hooks/pre-push