Added tw_at_s as a parameter. This makes generate_pencil_on_collimator twice as fast.
Initial_distribution test passes with these new changes.
Do NOT approve this pull request before the small changes has been merged and released in xpart.
Closes # .
Checklist
Mandatory:
[ ] I have added tests to cover my changes
[ ] All the tests are passing, including my new ones
[ ] I described my changes in this PR description
Optional:
[ ] The code I wrote follows good style practices (see PEP 8 and PEP 20).
[ ] I have updated the docs in relation to my changes, if applicable
Description
Added tw_at_s as a parameter. This makes generate_pencil_on_collimator twice as fast. Initial_distribution test passes with these new changes. Do NOT approve this pull request before the small changes has been merged and released in xpart. Closes # .
Checklist
Mandatory:
Optional: