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
[RF] Translate RooStats tutorials to Python #8758
Comments
Hello @guitargeek @couet , I'd like to contribute to this repository. Can you guide me in going about this issue? |
Sir I'm having a little issue with setting up the code can you help out? @guitargeek @couet |
Hi @virenvarma007, thanks for reaching out to us about this issue! Fortunately, you don't necessarily have to compile and set up ROOT yourself to work on this issue :) All you need it a working ROOT installation on your system. Which Linux distribution are you using? Most likely root is available as a package for your distribution, for example on Ubuntu you can just do Once you have ROOT installed, you can download one of the roostats tutorials that you want to translate (maybe pick a shorter one in the beginning, like rs101_limitexample. Remember you just need the tutorial file, not the whole ROOT repository. To try out the tutorial, you can run it with the root interpreter by typing When you have translated your first tutorial, you can make a pull request here with the new python file in the same directory as the C++ tutorials. You can find more information of ROOT and especially pyROOT for your usecase in the ROOT users manual: https://root.cern/manual/. If you have any questions that are not answered in this manual, please feel free to ask! Good luck and thanks for your effort already! |
Thanks you so much for the details Sir, I'm using Ubuntu 18.04 and I already have root installed in pc. I'll start with the tutorial and work on the Issue right away. |
Hello @guitargeek Sir, while Installing Root to my Ubuntu VM 18.04, during the building of the file "cmake --build . -- -j3" the build stops and shows this error every time at the 49% of the build. I have tried to start the process multiple times and even increase space in my Oracle VM but nothing seemed to work. CMake Error at /home/viren/Root CERN/root/AFTERIMAGE-prefix/src/AFTERIMAGE-stamp/AFTERIMAGE-install-RelWithDebInfo.cmake:16 (message): '/usr/bin/make' 'install' See also
CMakeFiles/AFTERIMAGE.dir/build.make:73: recipe for target 'AFTERIMAGE-prefix/src/AFTERIMAGE-stamp/AFTERIMAGE-install' failed |
Hi @guitargeek @couet I am interested in contributing to this repository. Can you inform me about the process? Thank you. |
Contributes to root-project#8758
Hi @guitargeek, while working on this issue, I tried to create a script that could somewhat automate this process. Manual changes are still required, but hopefully using this could speed up the process a bit for the remaining tutorials. |
Contributes to root-project#8758
Contributes to #8758 Co-authored-by: Jonas Rembser <jonas.rembser@cern.ch>
Contributes to root-project#8758 Co-authored-by: Jonas Rembser <jonas.rembser@cern.ch>
Contributes to root-project#8758 Co-authored-by: Jonas Rembser <jonas.rembser@cern.ch>
After the translations of the RooFit tutorials to pyROOT were completed (see #8523), a next step is to translate also the RooStats tutorials to pyROOT.
The RooStats tutorials can be found in the tutorials/roostats directory. Right now, none of the tutorials are translated to Python yet. For a start, one could start with the translation of the very popular StandardHypoTestInvDemo tutorial, which explains the widely used AsymptoticCalculator and HypoTestInverter classes.
Any new Python tutorials should be formatted with black:
Here is the list of all the RooStats tutorials and whether they have already been translated:
The text was updated successfully, but these errors were encountered: