xmimsim-pymca: fixed energy weight processing