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

Refactor Fitting #53

Open
wants to merge 8 commits into
base: dev
Choose a base branch
from
Open

Refactor Fitting #53

wants to merge 8 commits into from

Conversation

plesqui
Copy link
Collaborator

@plesqui plesqui commented Sep 16, 2024

This PR brings a re-factor of the fitting function and related tools. The idea now is to express the fit as a sum of exponential functions of degree 1, 2 or 3 and leverage lmfit library to perform the fit. This library allows the user to fix parameters by setting up constrains (e.g., using previous cycle biokinetics), set bounds etc. It also computes r-square and other important criteria such as Akaike information criteria which can be used to select the best fit.

It has been tested on Organ level (S-value) and Voxel level (S-value) dosimetry.

Pedro L. Esquinas added 2 commits September 15, 2024 22:12
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

Successfully merging this pull request may close these issues.

1 participant