Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[paramGUI] Allow for simple fitting #15

Open
jsnel opened this issue Jan 20, 2019 · 0 comments
Open

[paramGUI] Allow for simple fitting #15

jsnel opened this issue Jan 20, 2019 · 0 comments

Comments

@jsnel
Copy link
Member

jsnel commented Jan 20, 2019

In the paramGUI interface a user can specify a model to fit the freshly simulated data (#183) in a simple manner. Rather than needing to think about model files and/or parameter files in some kind of yaml specification, following some kind of syntax they can just do the following

  1. select a model type (e.g. kinetic) - required
  2. specify some number of decay rates - required
  3. optionally specify if a gaussian IRF is to be used
  4. optionally specify if backsweep is to be used
  5. specify if the model to be used is parallel or sequential (unbranched unidirectional model )
  6. optionally force positive decay rates
  7. specify the maximum number of iterations (nice to have)

In a notebook this would look like, e.g.:
gta.fit(data, type='kinetic', mode='sequential', rates=(0.055, 0.005), irf=(2.0,1.0), backsweep = True)
(if backsweep is True use default value 13164.8235)

The didactic workflow here is then that the user first if confronted / presented with the Fit progression and from this needs to judge if the fit went well and has converged. Without convergence the fit results always need to be interpreted with a grain of salt, or not at all.
The standard reporting method should show the elements as per the screenshot, e.g. concentrations, spectra, singular values SVD residual, 1st LSV residual, 1st RSV residual, the (raw) residuals, optionally depicting the orignal data (data + (1st, 2nd) SVD).

Screenshots

  • standard result report
    image

  • diagnostics
    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants