Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

ENH: Miscellaneous improvements to the scripts #248

Merged
merged 3 commits into from
Oct 29, 2024

Conversation

jhlegarreta
Copy link
Collaborator

  • ENH: Miscellaneous improvements to the scripts
  • ENH: Compute the number of CV repetitions dynamically
  • DOC: Improve consistency in script function docstring

Miscellaneous improvements to the scripts:
- Make the b-value parameter be an integer.
- Remove storing the generated dMRI signal/gtab and predictions from the
  error analysis plot and constrain the script to the CV error analysis.
- Make the error analysis script main method description honor its new
  purpose.
- Store the generated signal b-value in the error analysis script so
  that it can be added to the plot title.
- Remove plotting the predicted signal from the error analysis plot
  script.
- Make the error analysis plot script main method description honor its
  purpose.
- Print the generated signal b-value in the error analysis plot title.
- Add a script to generate a synthetic signal and predict using a GP.
  Store the generated dMRI signal/gtab and the predictions.
- Add a script to plot the generated synthetic signal and the GP
  predictions.
- Rename the GP error analysis plot script so that it honors better its
  scope now.
Compute the number of CV repetitions dynamically by setting the number
to the maximum number of folds requested by the user.
Improve consistency in script function docstring: use sentence style
(start with capitals and end with period).
Copy link

codecov bot commented Oct 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 66.18%. Comparing base (d3f5eac) to head (aea2df5).
Report is 15 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #248   +/-   ##
=======================================
  Coverage   66.18%   66.18%           
=======================================
  Files          19       19           
  Lines         905      905           
  Branches      112      112           
=======================================
  Hits          599      599           
  Misses        264      264           
  Partials       42       42           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jhlegarreta
Copy link
Collaborator Author

Will adjust the covariance parameter values as the scripts are improved to provide the plots that we would like to have or once we get a clearer picture of what is wrong with the simulated signals. Merging now.

@jhlegarreta jhlegarreta merged commit 26ef287 into nipreps:main Oct 29, 2024
8 checks passed
@jhlegarreta jhlegarreta deleted the RefactorScripts branch October 29, 2024 00:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants