HaroonRafique / HaroonRafique/ParticleBunch

Generate a particle distribution

Open
#1 0 comments 0 reactions 1 assignee Claimed by @HaroonRafique View on GitHub
bug enhancement help wanted
Dominant language
Jupyter Notebook
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Create a standard function to generate a particle distribution.

**Arguments**:
- [x] Type of distribution
- [x] number of particles
- [ ] format of data -> later add user defined format to edit units
- [x] fiename if printing to file
- [ ] some clever way to input bunch parameters (e.g. Twiss)
- [ ] consider a MAD-X/PTC twiss input method, perhaps separate function

**Returns**:
- [ ] bunch data in requested format (pandas dataframe? numpy arrays? dictionary? df is apparently fastest)
- [x] output file created if requested
- [x] later options to plot

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.