sdcflows.interfaces.epi module

Interfaces to deal with the various types of fieldmap sources.

class sdcflows.interfaces.epi.GetReadoutTime(from_file=None, resource_monitor=None, **inputs)[source]

Bases: nipype.interfaces.base.core.SimpleInterface

Calculate the readout time from available metadata.

Mandatory Inputs

metadata (a dictionary with keys which are any value and with values which are any value) – Metadata corresponding to the inputs.

Optional Inputs

in_file (a pathlike object or string representing an existing file) – EPI image corresponding to the metadata.

Outputs
  • pe_dir_fsl (‘x’ or ‘x-’ or ‘y’ or ‘y-’ or ‘z’ or ‘z-’)

  • pe_direction (‘i’ or ‘i-’ or ‘j’ or ‘j-’ or ‘k’ or ‘k-’)

  • readout_time (a float)