dmriprep icon indicating copy to clipboard operation
dmriprep copied to clipboard

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

Open josephmje opened this issue 4 years ago • 8 comments

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

  • [ ] report diffusion sampling scheme: shelled, radial or Cartesian
  • [x] report shell distribution
  • [x] expose bmag parameter to adjust rounding bvals
  • [x] check # b0s doesn't change after rounding
  • [ ] create tests for DiffusionSummary interface

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.

josephmje avatar Jan 12 '21 11:01 josephmje

Could you rebase when #151 is merged?

oesteban avatar Jan 21 '21 16:01 oesteban

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.

josephmje avatar Jan 26 '21 16:01 josephmje

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.

oesteban avatar Jan 26 '21 16:01 oesteban

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

pep8speaks avatar Feb 09 '21 17:02 pep8speaks

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

josephmje avatar Feb 09 '21 17:02 josephmje

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

josephmje avatar Mar 09 '21 17:03 josephmje

sounds great

oesteban avatar Mar 09 '21 17:03 oesteban

should we resuscitate this?

oesteban avatar Apr 22 '21 12:04 oesteban