dmriprep.interfaces.bids module
BIDS-related interfaces.
- class dmriprep.interfaces.bids.BIDSSourceFile(from_file=None, resource_monitor=None, **inputs)View on GitHub
- Bases: - SimpleInterface- Mandatory Inputs:
- bids_info (a dictionary with keys which are any value and with values which are any value) – BIDS information dictionary. 
- Optional Inputs:
- anat_type (‘t1w’ or ‘t2w’) – Anatomical reference type. (Nipype default value: - t1w)
- precomputed (a dictionary with keys which are any value and with values which are any value) – Precomputed BIDS information. (Nipype default value: - {})
- sessionwise (a boolean) – Keep session information. (Nipype default value: - False)
 
- Outputs:
- source_file (a pathlike object or string representing a file) – Source file. 
 
- class dmriprep.interfaces.bids.BIDSURI(numinputs=0, **inputs)View on GitHub
- Bases: - SimpleInterface- Convert input filenames to BIDS URIs, based on links in the dataset. - This interface can combine multiple lists of inputs. - Mandatory Inputs:
- dataset_links (a dictionary with keys which are any value and with values which are any value) – Dataset links. 
- out_dir (a string) – Output directory. 
 
- Outputs:
- out (a list of items which are a string) – BIDS URI(s) for file. 
 - input_specView on GitHub
- alias of - _BIDSURIInputSpec
 
- class dmriprep.interfaces.bids.CreateFreeSurferID(from_file=None, resource_monitor=None, **inputs)View on GitHub
- Bases: - SimpleInterface- Mandatory Inputs:
- subject_id (a string) – BIDS Subject ID. 
- Optional Inputs:
- session_id (a string) – BIDS session ID. 
- Outputs:
- subject_id (a string) – FreeSurfer subject ID.