-
Notifications
You must be signed in to change notification settings - Fork 63
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
scikit-hep #112
Comments
Thanks for this follow-up. I'm happy to help. BTW, I'm working on improving Particle so you should let me know what you need in case there are things not there yet ... (Probably the biggest change to come is that I'm adding "all" particles for which the PDG does not give info in their downloadable file, so BSM, etc. A lot is there in a way, but not via the trivial and common usage.) |
BTW, great PyHEP 2020 presentation with many thoughts straight to the point. I think you hit the right mode for such a keynote presentation. Thanks again for participating! |
@DavidMStraub thanks for the suggestion! It looks like the Particle package would really be a perfect replacement for the functions currently used for reading particle masses and widths from the PDG. |
Hello @peterstangl. By default This being said, the package internally uses an extended file prepared by us, which contains more info than what the PDG .mcd file contains. That's the particleYYYY.csv file under the same location. The standard user never has to care about or interact with the CSV file(s). I did a clean-up recently and only left in the package the data corresponding to 2018. We could provide older files for convenience ... Just let us know. In any case, it is easy to do a custom loading. For a standard usage do for example
If you want the 2018 just do
I realise that not everything is presented in the README nor in the notebook, but there's a lot that one can do ;-). Let's keep in touch. I would love to see |
@eduardo-rodrigues thank you very much for your detailed answer! I think the custom loading as you describe it is exactly what we need. I don't think we would need older files, I just wonder how long a given file would be included in Another thing I was thinking about is the naming of particles. flavio uses its own names, which are translated from the PDG names using a simple dictionary: Lines 101 to 125 in b91383c
I saw that Particle also implements conversions between names used in different codes. So I was wondering whether it could make sense to add the flavio names directly in Particle or if it would be better to do the conversion inside flavio . An argument for the latter option would be that flavio only defines names for a small subset of the particles in the PDG data.
|
By default I think it is reasonable to have in any given release the latest (year) file as default and also keep available the file from the year before. For some previous years it would not quite make sense to make them available because of changes upstream by the PDG, such as changes in PDG IDs - it would be messy and potentially confusing for users. As for the special particle names: I would also prefer not to have those flavio-specific names in BTW, you may have your reasons to have slightly modified names but be aware that
I hope these things prove useful to you. By all means do not hesitate to post on the |
That's right, here the choice was that the charge only shows up in cases where it's not unique, e.g. for But this dictionary is only used for translating the PDG mass/width table, so if it's replaced by |
@DavidMStraub now that |
Hello! Allow me to chime in. From the Scikit-HEP side let me just say that we have some other packages that may be of interest to you (e.g. histogramming?) and we are as always more than happy to collaborate and exchange ideas and information. Plenty of communication channels are listed at https://scikit-hep.org/getting-in-touch :-). |
Thank you @eduardo-rodrigues! One thing I now remember that could be interesting is to use |
Hi. Contributions are most welcome! At this stage you should focus on https://github.com/scikit-hep/uproot4 which is a better/... version of the good-old uproot3. Jim is getting lots of feedback and that helps shaping the package as per requirements. |
@peterstangl, in feedback from a talk at PyHEP, scikit-hep's https://github.com/scikit-hep/decaylanguage and https://github.com/scikit-hep/particle have been mentioned as projects that flavio could profit from. Would be interesting, e.g. to get rid of this.
The text was updated successfully, but these errors were encountered: