ePSIC-DLS / epsic_tools

Code for conversion and analysis of Merlin-Medipix data
GNU General Public License v3.0
6 stars 7 forks source link

Widget-based conversion notebook #49

Closed jinseuk56 closed 6 months ago

jinseuk56 commented 6 months ago

The jupyter notebook for MIB data conversion has been re-arranged into a widget-based python script. Without running cell by cell, all the process can be done step by step by running one cell to generate a set of widgets.

'MIB_convert.py' contains all necessary functions and a class for generating a set of widgets. This generates a set of widgets to create a shell script file and a information text file, and to submit a slurm job. 'MIB_convert_submit.py' will be used to convert MIB files using slurm. It reads the information file produced by 'MIB_convert.py' 'MIB_convert.ipynb' is for running a set of widgets from 'MIB_convert.py'.

When you want to convert mib files, you only need to run 'MIB_convert.ipynb' Please make sure that the paths of 'MIB_convert.py' and 'MIB_convert_submit.py' are correct before using it.