aslprep.interfaces.ge module

GE-specific interfaces.

class GeReferenceFile(from_file=None, resource_monitor=None, **inputs)[source]

Bases: SimpleInterface

Generate a reference grid to resample image to new space, but with original resolution.

TODO: Extract M0 in a separate step, to be shared between the GE and non-GE pipelines.

Mandatory Inputs:
  • aslcontext (a pathlike object or string representing an existing file) – Aslcontext file.

  • in_file (a pathlike object or string representing an existing file) – Asl_file.

  • m0scan (a pathlike object or string representing an existing file or None) – M0 file.

  • m0scan_metadata (a dictionary with keys which are any value and with values which are any value or None) – Metadata for M0 scan. Only defined if M0Type is ‘Separate’.

  • metadata (a dictionary with keys which are any value and with values which are any value) – Metadata for asl or deltam .

Optional Inputs:

fwhm (a float) – Smoothing kernel for M0.

Outputs:
  • m0_file (a pathlike object or string representing an existing file) – Averaged and smoothed m0 file.

  • m0tr (a float or None) – RepetitionTimePreparation for M0 scans.

  • ref_file (a pathlike object or string representing an existing file) – Ref file.