at.tracking.atpass#
Clone of atpass in Accelerator Toolbox
Functions
|
Track input particles r_in along line for nturns turns. |
|
Track input particles r_in through a single element. |
|
Reset the common and thread random generators. |
Return a double from the common generator . |
|
Return a double from the thread generator . |
- common_rng()#
Return a double from the common generator .
- reset_rng(*, rank=0, seed=None)#
Reset the common and thread random generators.
The seed is applied unchanged to the “common” generator, and modified in a thread-specific way to the “thread” generator
- thread_rng()#
Return a double from the thread generator .