osl_ephys.source_recon.rhino.fsl_utils#

Wrappers for fsleyes.

Functions#

setup_fsl(directory)

Setup FSL.

check_fsl()

Check FSL is installed.

fsleyes(image_list)

Displays list of niftii's using external command line call to fsleyes.

fsleyes_overlay(background_img, overlay_img)

Displays overlay_img and background_img using external command line call to fsleyes.

Module Contents#

osl_ephys.source_recon.rhino.fsl_utils.setup_fsl(directory)[source]#

Setup FSL.

Parameters:

directory (str) – Path to FSL installation.

osl_ephys.source_recon.rhino.fsl_utils.check_fsl()[source]#

Check FSL is installed.

osl_ephys.source_recon.rhino.fsl_utils.fsleyes(image_list)[source]#

Displays list of niftii’s using external command line call to fsleyes.

Parameters:

image_list (string | tuple of strings) – Niftii filenames or tuple of niftii filenames

Examples

fsleyes(image) fsleyes((image1, image2))

osl_ephys.source_recon.rhino.fsl_utils.fsleyes_overlay(background_img, overlay_img)[source]#

Displays overlay_img and background_img using external command line call to fsleyes.

Parameters:
  • background_img (string) – Background niftii filename

  • overlay_img (string) – Overlay niftii filename