Based on a suggestion by Javier Perez, I'd like to move header file definitions out of the python code and into auxiliary files. This way the program doesn't have to be modified for each type of new header, and it's easy for users to extend, because they don't have to write new python code.
An example of this is how hdf5 loading definitions are done (for non-RAW-specific hdf5 formats, currently only the LiX format).