scilus / scilpy

The Sherbrooke Connectivity Imaging Lab (SCIL) Python dMRI processing toolbox
Other
54 stars 59 forks source link

Tractogram scripts parts4 #961

Closed EmmaRenauld closed 1 month ago

EmmaRenauld commented 3 months ago

Quick description

Modified the tractogram filtering scripts! Looks like a lot of changes but the core methods should not have changed. Only the managing of all inputs and options.

Type of change

Check the relevant options.

Checklist

pep8speaks commented 3 months ago

Hello @EmmaRenauld, Thank you for updating !

There are currently no PEP 8 issues detected in this Pull Request. Cheers! :beers:

Comment last updated at 2024-05-14 15:09:27 UTC
codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 71.98697% with 86 lines in your changes are missing coverage. Please review.

Project coverage is 68.37%. Comparing base (11f218b) to head (fbd68fb).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #961 +/- ## ========================================== + Coverage 67.97% 68.37% +0.40% ========================================== Files 419 419 Lines 21615 21544 -71 Branches 3251 3219 -32 ========================================== + Hits 14693 14731 +38 + Misses 5633 5535 -98 + Partials 1289 1278 -11 ``` | [Components](https://app.codecov.io/gh/scilus/scilpy/pull/961/components?src=pr&el=components&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scilus) | Coverage Δ | | |---|---|---| | [Scripts](https://app.codecov.io/gh/scilus/scilpy/pull/961/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scilus) | `69.51% <68.62%> (+0.55%)` | :arrow_up: | | [Library](https://app.codecov.io/gh/scilus/scilpy/pull/961/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scilus) | `66.68% <88.46%> (+0.18%)` | :arrow_up: |
EmmaRenauld commented 2 months ago

Writing here, so that we don't forget: As discovered by @arnaudbore, the new dilation usage creates a difference in the results are compared to the master branch. gm_mask on master: 839 238 voxels. gm_mask here: 854 041 voxels.

EmmaRenauld commented 2 months ago

Writing here, so that we don't forget: As discovered by @arnaudbore, the new dilation usage creates a difference in the results are compared to the master branch. gm_mask on master: 839 238 voxels. gm_mask here: 854 041 voxels.

The end of the discussion was:

Should we modify the option in the script to have a --dilate_radius in number of voxel (= number of pass) like in scil_volume_math, or do we need to keep it in mm?