-
Notifications
You must be signed in to change notification settings - Fork 3
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
Support evolution basis FkTables #75
Conversation
Codecov Report
@@ Coverage Diff @@
## master #75 +/- ##
==========================================
+ Coverage 70.35% 71.03% +0.68%
==========================================
Files 12 13 +1
Lines 1845 2120 +275
==========================================
+ Hits 1298 1506 +208
- Misses 547 614 +67
Continue to review full report at Codecov.
|
@felixhekhorn + commit c42860c: Please don't do that, instead add metadata to the |
We thought about it, but we do like the alternative even less:
|
@felixhekhorn So what we want is to add very specific metadata to the We should probably pack all the arguments, except maybe the operator itself into a new |
I agree with both. Later on we should also improve a bit the |
Let's recap what we need here to merge, not leave things open forever:
Is there anything else? |
I'm on my way to remove the Can you review and make your comments? @cschwan |
@alecandido thanks, the |
Yes, on the other hand I'm not 100% convinced about Nevertheless, we can say that for the time being is fine, and maybe it'll be fine forever. |
|
Sorry to reply so late. I would agree with you, but at the moment it is asymmetric: the reason is that I didn't implement the Most likely the easiest solution is the following: I implement as soon as possible actual |
I tried to add a test for It would be quite useful to have such a test, because while working on I'm stuck with something happening inside Any hint? @cschwan |
@alecandido The problem is that you're hitting a few corner cases here:
|
Thank you very much for all the info, I felt that I was doing something bad, but I wanted a simple grid and I didn't want to blow up on something complicated just to avoid some errors I was not understanding.
Yep, definitely. Let me have another go, maybe I'll be able to fix it. |
Don't worry, I'm happy you discovered those cases. I'll fix them at some point and opened a new Issue: #76. |
Added a very minimal (and working) test in be69003, but at least it guarantees that |
At this point:
Now I'm in favor to merge. |
We should optimize evolution basis products when they are zero by cancellation (i.e. zero more or less at float precision) |
As I said, at the moment we are relying in multiple places on the strings:
I would add an |
I agree. Do we want to do this here, or open a new Issue? I'm leaning towards a new Issue since more optimization isn't necessarily needed for the time being. |
I agree, strings are weakly typed and we should avoid them in Rust/... as much as possible. I'm going to open a separate Issue for this. |
Good, I'm fine with separate issues for both, it will make it easier to track progresses. This PR is already consumed (i.e. it was dedicated to something else). |
This is now part of #45. |
Good, then I'm going to merge this one. |
This is now #78. |
We want to support the generation of FkTables in evolution basis, in order to get closer to the old FkTables.
Since the rotation is already available inside
eko
, the only thing missing was to allow for different input and output basis during convolution of pineappl grids.(actually the only information relevant for the inner convolution is the length of the basis, that has to be the same for input and output, so the only thing left is to propagate the information on output basis to match it correctly with the PDF later on)