Compatibility with PyMca5