-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
type:enhancement 🛠️Improvements to existing featuresImprovements to existing features
Milestone
Description
Make it so mapping functions output 0 if the R-squared of the fit is less than a desired threshold. This will minimise the number of voxels with non-sensical fits.
Add something like the snippet below to mapping/fitting/relaxation.py fit_signal function.
if r2 <= 0:
popt = np.zeros(model.n_params)
error = np.zeros(model.n_params)
r2 = -1E6Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type:enhancement 🛠️Improvements to existing featuresImprovements to existing features