dmriprep package

Subpackages

Submodules

dmriprep.cli module

Console script for dmriprep.

dmriprep.due module

Stub file for a guaranteed safe import of duecredit constructs: if duecredit is not available.

To use it, place it into your project codebase to be imported, e.g. copy as

cp stub.py /path/tomodule/module/due.py

Note that it might be better to avoid naming it duecredit.py to avoid shadowing installed duecredit.

Then use in your code as

from .due import due, Doi, BibTeX, Text

See https://github.com/duecredit/duecredit/blob/master/README.md for examples.

Origin: Originally a part of the duecredit Copyright: 2015-2019 DueCredit developers License: BSD-2

dmriprep.due.BibTeX(*args, **kwargs)

Perform no good and no bad

dmriprep.due.Doi(*args, **kwargs)

Perform no good and no bad

class dmriprep.due.InactiveDueCreditCollector[source]

Bases: object

Just a stub at the Collector which would not do anything

activate(*args, **kwargs)

Perform no good and no bad

active = False
add(*args, **kwargs)

Perform no good and no bad

cite(*args, **kwargs)

Perform no good and no bad

dcite(*args, **kwargs)[source]

If I could cite I would

dump(*args, **kwargs)

Perform no good and no bad

load(*args, **kwargs)

Perform no good and no bad

dmriprep.due.Text(*args, **kwargs)

Perform no good and no bad

dmriprep.due.Url(*args, **kwargs)

Perform no good and no bad

dmriprep.qc module

dmriprep.qc.createB0_ColorFA_Mask_Sprites(b0_file, colorFA_file, mask_file)[source]
dmriprep.qc.createSprite4D(dwi_file)[source]
dmriprep.qc.create_report_json(dwi_corrected_file, eddy_rms, eddy_report, color_fa_file, anat_mask_file, outlier_indices, eddy_qc_file, outpath='/home/docs/checkouts/readthedocs.org/user_builds/dmriprep-personal/checkouts/refactor/docs/report.json')[source]
dmriprep.qc.create_sprite_from_tiles(tile, out_file=None, as_bytes=False)[source]
dmriprep.qc.get_middle_slices(data, slice_direction)[source]
dmriprep.qc.load_and_reorient(filename)[source]
dmriprep.qc.mplfig(data, outfile=None, as_bytes=False)[source]
dmriprep.qc.mplfigcontour(data, outfile=None, as_bytes=False)[source]
dmriprep.qc.nearest_square(limit)[source]
dmriprep.qc.reorient_array(data, aff)[source]
dmriprep.qc.reshape3D(data, n=256)[source]
dmriprep.qc.reshape4D(data, n=256)[source]

Module contents

Top-level package for dmriprep.