-
Notifications
You must be signed in to change notification settings - Fork 7
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
add resample_pseudodata flag #2088
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess this will be a runcard parameter?
Could you add it either to docs or to some runcard example (even with the default value) just to signal that it exists.
Just a question (maybe you already said and I do not remember): have you tried this with a MHOU fit? If yes, how much time does it take to get all pseudodata positive? |
This doesn't do any resampling and just accepts also negative xsecs |
Co-authored-by: Juan M. Cruz-Martinez <juacrumar@lairen.eu>
5e52129
to
8bc67b7
Compare
Ok yes but I understood you did try the resampling no? |
Yes I did do MHOU fits with resampling (so the same as in master now), but I didn't track how much time that took |
For parameter fits it is important not to distort the pseudodata sampling distribution. This PR adds a flag
resample_negative_pseudodata
that can be set to False to also accept negative pseudodata values instead of resampling.