Skip to content
Snippets Groups Projects
Commit 950a07a0 authored by Vadim Gubaidulin's avatar Vadim Gubaidulin
Browse files

Slight improvements for SynchrotronRadiation performance

- np.random.normal -> np.random.standard_normal, 10% faster
- N = len(bunch) to compute the number of particles only once
parent 7d3c911e
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment