JUPYTER / ROOT / GALLERY INTEGRATION
Wesley Ketchum (FNAL)
19 June 2018 1
H OW TO INSTALL J UPYTER ? Generally: pip install jupyter But - - PowerPoint PPT Presentation
J UPYTER / ROOT / G ALLERY I NTEGRATION Wesley Ketchum (FNAL) 19 June 2018 1 E XAMPLE REPOSITORY https://github.com/wesketchum/Sample_Notebooks Contains basically everything Ill mention here today Startup readme:
19 June 2018 1
https://github.com/wesketchum/Sample_Notebooks/blob/ master/README.md
19 June 2018 2
snippets
19 June 2018 3
cvmfs
you want setup first: likely the one you get with larsoft
19 June 2018 4
export PYTHONUSERBASE=/$EXPERIMENT/app/users/$USER/python_libs mkdir -p $PYTHONUSERBASE export PYTHONPATH=$PYTHONUSERBASE/bin:$PYTHONPATH export PATH=$PYTHONUSERBASE/bin:$PATH
19 June 2018 5
kernel
19 June 2018 6
19 June 2018 7
root --notebook
another available port
to that port
an ssh tunnel and port forwarding to open in local browser
the-root-notebook
19 June 2018 8
tebooks/blob/efc8dc14d0807d183cc42c390027d3c9fb8bd a46/ROOT_Example.ipynb
tebooks/blob/efc8dc14d0807d183cc42c390027d3c9fb8bd a46/ROOT_CPP_Kernel_Example.ipynb
19 June 2018 9
19 June 2018 10
Notebooks/blob/efc8dc14d0807d183cc42c390027d3c9f b8bda46/Analyze_MCTruth.ipynb
compile it
them in another
19 June 2018 11
http://nbviewer.jupyter.org/github/wesketchum/Sample_No tebooks/blob/efc8dc14d0807d183cc42c390027d3c9fb8bd a46/SpaceCharge_Example.ipynb
19 June 2018 12
19 June 2018 13
have a python that can be used with jupyter/metakernel/zmq
fully integrated setup/run/analyze demonstration in a notebook
19 June 2018 14