(very preliminary test)
Install
# Get anaconda or miniconda on your own, then: > conda create --name st_test python=2 # Do not activate the environment yet, do this first: > conda install --name st_test -c conda-forge -c fermi_conda_forge numpy scipy ipython fermist # Now you can activate > source activate st_test
Using python scripts
Python modules are now under the "fermist" package, so in general an import like this:
import BinnedAnalysis
will fail. You should instead do:
from fermist import BinnedAnalysis
However, since this change would break all existing scripts, you can activate a "compatibility" mode by doing:
> fermist_compatibility_mode_on
This will put the `fermist` package in the `$PYTHONPATH` variable and it will allow you to import python modules as above. You can then deactivate it with:
> fermist_compatibility_mode_off
Known issues
The MINUIT minimizer does not work. It crashes with this message:
startio: illegal unit number apparent state: unit 6 Segmentation fault (core dumped)