Updated analysis.py
Fixed a bug that limited the threshold slider and spin box to 1 pA when a settings file is not present in a data directory.