sdmf_calibSMR.py: bug in np.ma.median... fixed by using np.ma.mean