You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a seed definition feature in the GeometricSource method to work on the same beam all the time ?
Normally, a different beam is generated in each run. What we want is to generate the same beam (phase spaces and energies of the photons in the beam must be the same) in every operation, as long as the parameters do not change.
I tried to define it as np.random.seed(seed_number) in some scripts but it didn't work.
Thanks in advance
The text was updated successfully, but these errors were encountered:
Hello,
Is there a seed definition feature in the GeometricSource method to work on the same beam all the time ?
Normally, a different beam is generated in each run. What we want is to generate the same beam (phase spaces and energies of the photons in the beam must be the same) in every operation, as long as the parameters do not change.
I tried to define it as
np.random.seed(seed_number)
in some scripts but it didn't work.Thanks in advance
The text was updated successfully, but these errors were encountered: