aslprep.interfaces.reference module

Interfaces for building reference images.

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

Bases: SimpleInterface

Apply the SCORE and SCRUB algorithms.

The Structural Correlation-based Outlier Rejection (SCORE) algorithm is applied to the CBF time series to discard CBF volumes with outlying values [1] before computing the mean CBF. The Structural Correlation with RobUst Bayesian (SCRUB) algorithm is then applied to the CBF maps using structural tissue probability maps to reweight the mean CBF [2].

References

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

  • aslcontext (a pathlike object or string representing an existing file) – ASL context file.

  • prioritize_m0 (a boolean) – Whether to prioritize the M0 scan (useful for GE data) or not.

Optional Inputs:

m0scan (a pathlike object or string representing an existing file) – M0 scan file. Only provided if M0Type is ‘separate’.

Outputs:

selected_volumes_file (a pathlike object or string representing a file) – File containing the highest-contrast available volumes.