Refactoring the calculations into functions and .py modules will improve the project in multiple ways:
- The notebook will be easier to read since there will be functions in place of all the large code blocks.
- The modularized code will be easier to test and debug.
- The modularized code will enable users to build scripts that can be automated more easily than a notebook alone will allow.
- Parallel computing is more straightforward with python scripts than it is with Jupyter Notebooks.