some provisional changes to xsw/fluo_det.py_