This documentation is for CAPS version 0.0.1

If you use the software, please do not esitate to Report a Bug.

caps.diffusion_preproc.bet.ExtractReferenceB0Image

ExtractReferenceB0Image

class caps.diffusion_preproc.bet.ExtractReferenceB0Image[source]

Extract the first reference (b=0) image from a diffusion timeserie

Inputs

[Mandatory]

bvals: a file name (mandatory)
the the diffusion b-values
dw_image: a file name (mandatory)
an existing diffusion weighted image

[Optional]

specified_index_of_ref_image: an integer (optional)
index of the reference b=0 volume

Outputs

index_of_ref_image: an integer
index of the reference b=0 volume