Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Phase for periodic sources and for non periodic sources #41

Open
lucabaldini opened this issue Sep 20, 2022 · 0 comments
Open

Phase for periodic sources and for non periodic sources #41

lucabaldini opened this issue Sep 20, 2022 · 0 comments
Assignees

Comments

@lucabaldini
Copy link
Owner

[ximpol issue #104]

The phase cannot be assigned at the level of the source, but should be added in a second step, after the simulation is done. In fact all the sources (also the non periodic one) has to have a phase assigned (we don't know in real life which event comes from a particular source. Right now I have changed the old default value (-1) to random.uniform(0,1) for non periodic sources, but this is a quick (and wrong) fix.

Original url: https://bitbucket.org/ixpesw/ixpeobssim/issues/41
Created on 2018-02-01T13:45:14.599843+00:00

@lucabaldini lucabaldini self-assigned this Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant