Home

Documentation

GitHub

Sanitize brick

Sanitize input bold image

Adapted from niworkflows.


Mandatory inputs parameters:

  • in_file (a string representing an existing file)

    Input image which intensity will be clipped (valid extensions: [.nii, .nii.gz]).

    ex. '/home/username/data/raw_data/func.nii'
    

Optional inputs with default value parameters:

  • max_32bits (a boolean, optional, default value is False)

    Cast data to float32 if higher precision is encountered.

    ex. False
    
  • n_volumes_to_discard (an int, optional, default value is 0)

    Number of non steady-state volumes.

    ex. 0
    
  • prefix (a string, optional, default value is ‘’)

    Prefix of the output image.

    ex. ''
    
  • suffix (a string, optional, default value is ‘_valid’)

    Suffix of output image.

    ex. '_valid'
    

Outputs parameters:

  • out_file (a strings representing a file)

    Path of the sanitize image (extensions: [.nii, .nii.gz]).

    ex. '/home/username/data/derived_data/func_valid.nii'
    

Usefull links:

SanitizeImage niworflow