The init function in hdf5_file.py sets some basic entries for the HDF5 file. Would it be a good idea to separate this
into one or more functions? The functions could distinguish static from dynamic information, and sub-distinguish information from the TEM (e.g. PYJEM.TEM3.EOS information, detector distance, magnification...) and from the writing process (number of frames), and thirdly information derived from a combination of both, like the oscillation width, DATA_RANGE, STARTING_ANGLE, etc. Maybe one could turn the content of this issue into a work-sheet to first organise the organisation of function, before actually coding it?
The init function in hdf5_file.py sets some basic entries for the HDF5 file. Would it be a good idea to separate this into one or more functions? The functions could distinguish static from dynamic information, and sub-distinguish information from the TEM (e.g. PYJEM.TEM3.EOS information, detector distance, magnification...) and from the writing process (number of frames), and thirdly information derived from a combination of both, like the oscillation width, DATA_RANGE, STARTING_ANGLE, etc. Maybe one could turn the content of this issue into a work-sheet to first organise the organisation of function, before actually coding it?