dmriprep.interfaces.images module¶
Image tools interfaces.
-
class
dmriprep.interfaces.images.
ExtractB0
(from_file=None, resource_monitor=None, **inputs)¶ Bases:
nipype.interfaces.base.core.SimpleInterface
Extract all b=0 volumes from a dwi series.
Example
>>> os.chdir(tmpdir) >>> extract_b0 = ExtractB0() >>> extract_b0.inputs.in_file = str(data_dir / 'dwi.nii.gz') >>> extract_b0.inputs.b0_ixs = [0, 1, 2] >>> res = extract_b0.run()
-
input_spec
¶ alias of
_ExtractB0InputSpec
-
output_spec
¶ alias of
_ExtractB0OutputSpec
-
-
class
dmriprep.interfaces.images.
RescaleB0
(from_file=None, resource_monitor=None, **inputs)¶ Bases:
nipype.interfaces.base.core.SimpleInterface
Rescale the b0 volumes to deal with average signal decay over time.
Example
>>> os.chdir(tmpdir) >>> rescale_b0 = RescaleB0() >>> rescale_b0.inputs.in_file = str(data_dir / 'dwi.nii.gz') >>> rescale_b0.inputs.mask_file = str(data_dir / 'dwi_mask.nii.gz') >>> res = rescale_b0.run()
-
input_spec
¶ alias of
_RescaleB0InputSpec
-
output_spec
¶ alias of
_RescaleB0OutputSpec
-