nipreps / dmriprep

dMRIPrep is a robust and easy-to-use pipeline for preprocessing of diverse dMRI data. The transparent workflow dispenses of manual intervention, thereby ensuring the reproducibility of the results.
https://www.nipreps.org/dmriprep
Apache License 2.0
63 stars 24 forks source link

ENH: Add number of volumes per *b*-value to QC report #150

Open josephmje opened 3 years ago

josephmje commented 3 years ago

Closes #64 and #128. Replaces PR #73.

In the case of DSI data, should round_bvals automatically round to the nearest 10 instead of calculating based on the magnitude of bvals? Set bmag = 1.

oesteban commented 3 years ago

Could you rebase when #151 is merged?

josephmje commented 3 years ago

I'll update this to see if I can figure out a parser that determines whether the data is shelled or sampled along the Cartesian grid. I've checked out the methods section of a few DSI papers and they seem to either report the maximum b value or a range (eg. x DWIs with diffusion weightings in the range of b = 100-4000 s/mm2 and x interleaved b = 0 scans). Perhaps a similar approach can be taken in our reportlet.

oesteban commented 3 years ago

I'll update this to see if I can figure out a parser that determines whether the data is shelled or sampled along the Cartesian grid. I've checked out the methods section of a few DSI papers and they seem to either report the maximum b value or a range (eg. x DWIs with diffusion weightings in the range of b = 100-4000 s/mm2 and x interleaved b = 0 scans). Perhaps a similar approach can be taken in our reportlet.

Yes, this sounds fantastic.

pep8speaks commented 3 years ago

Hello @josephmje, Thank you for updating!

Cheers! There are no style issues detected in this Pull Request. :beers: To test for issues locally, pip install flake8 and then run flake8 dmriprep.

Comment last updated at 2021-03-11 15:15:14 UTC
josephmje commented 3 years ago

This is ready for review. I will leave the DSI updates for another PR.

josephmje commented 3 years ago

@oesteban tests are failing after some of the changes to the dwi reference workflow. will wait until #153 gets merged and then will rebase

oesteban commented 3 years ago

sounds great

oesteban commented 3 years ago

should we resuscitate this?