Comments (5)
In principle, you could always erase from it.
We never finished turning genpdf
into a full-fledged toolbox, but you can check if stripping distributions is already supported there, and otherwise add it yourself (it should be pretty simple)
https://github.com/NNPDF/eko/tree/master/src/ekobox/genpdf
https://eko.readthedocs.io/en/latest/code/genpdf.html?highlight=genpdf
from eko.
Actually, looking at the code the easiest fix, that will solve your problem would be to change the pids list passed here:
So we can drop 22 if there is no QED and top according to MaxNfPdf
.
If you agree, I suggest to move the issue there and I can draft a PR.
from eko.
Thanks both!
Actually, looking at the code the easiest fix, that will solve your problem would be to change the pids list passed here:
So we can drop 22 if there is no QED and top according to
MaxNfPdf
. If you agree, I suggest to move the issue there and I can draft a PR.
This is indeed the best place to apply the modification. I am not sure though what people think about this. If @scarlehoff thinks that this is a reasonable, then if you @giacomomagni could open a PR to address this that'd be great (otherwise I can also do so).
from eko.
Yes, LHAPDF actually just puts 0 when it doesn't find a flavour so it should be equivalent.
However
The reason is that some random MC programs will crash just because of this
which MC programs are these? Wouldn't this be a bug as well to be reported to them? Or is it expected behavior? (we can fix it in our side since it wouldn't change anything ofc but still)
from eko.
Closing this as it was indeed a limitation in the MC codes (which for now has to be fixed by the user).
from eko.
Related Issues (20)
- Improve tutorials HOT 2
- Consistently adopt `EvolutionPoint` HOT 2
- Use Cython as numba alternative HOT 7
- Hash computation seems not unique (across systems?) HOT 2
- Gluonic NNLO polarized matching in `M scheme` HOT 2
- `Atlas` do not infer correct values from `np.array` HOT 9
- In legacy runcards `nf0` is not correctly determined
- QED effects in polarized evolution
- Fix `apply_pdf` so that `(Q, nf)` does not overwrite `(Q, nf-1)`.
- Typo in docs HOT 2
- `evolve_pdfs` doesn't produce correct LHAPDF grids
- Is `matching_order` correctly determined? HOT 8
- On the backwards-compatibility or future-proofing of ekos HOT 15
- seemingly infinite error loop when running evolve_pdfs
- infinite error loop running evolve_pdfs HOT 5
- Packaging for rust
- Release for py 3.12 HOT 1
- Update `eko.io.dictlike` HOT 2
- Add a_Qg^3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eko.