Looking at some lumispy metadata, I am wondering if the spectra_images.mode metadata should be removed:
https://docs.lumispy.org/en/latest/user_guide/metadata_structure.html#spectral-image? These information are defined in the axes_manager and therefore shouldn't be duplicated here? For example, they can become incorrect after extracting a line from a map, as the metadata will not be updated.