I modified the full barr stage to use for-loops, which gives a small speedup. When running the full oscnext high stats neutrino pipeline it improves from ~12.3 s to ~8.2 s. The (very simple) notebook for that is here.
There are some additional modifications similar to the changes in the reduced barr stage.
updated docstring
moved antipion_production function into stage
linked containers for speedup
added check for completeness of spline file
converted barr parameters application into for loops
I modified the full barr stage to use for-loops, which gives a small speedup. When running the full oscnext high stats neutrino pipeline it improves from ~12.3 s to ~8.2 s. The (very simple) notebook for that is here. There are some additional modifications similar to the changes in the reduced barr stage.