The current inputs interface includes a script where all of the inputs are written inside
classes which are then passed into the relevant routines.
[x] These classes should be updated to use @dataclass since that is exactly why data classes were created for. Also the organisation of these classes should change, probably towards only using only two classes: one for forward scattering inputs and another for backward scattering inputs.
[x] The file process_inputs.py should be deleted as most of the actions on these classes will be obsolete.
[x] The file analysis_routines should be incorporated into run_routine.py and the functions in both files simplified.
[x] The class NeutronComptonProfile should probably be deleted.
[x] The prompt that asks if the user wants to run the preliminary procedure for estimating H ratio should be changed to a window with either OK or CANCEL buttons.
[ ] User input script should be adapted to use two separate routines (the first one to fit ncp spectrum by spectrum and the second one to fit the first profile on the overall spectra)
Proposed Work
The current inputs interface includes a script where all of the inputs are written inside classes which are then passed into the relevant routines.
@dataclass
since that is exactly why data classes were created for. Also the organisation of these classes should change, probably towards only using only two classes: one for forward scattering inputs and another for backward scattering inputs.process_inputs.py
should be deleted as most of the actions on these classes will be obsolete.analysis_routines
should be incorporated intorun_routine.py
and the functions in both files simplified.NeutronComptonProfile
should probably be deleted.