fsqc.createScreenshots

This module provides a function to create screenshots

fsqc.createScreenshots.createScreenshots(SUBJECT, SUBJECTS_DIR, OUTFILE, INTERACTIVE=True, LAYOUT='default', BASE='default', OVERLAY='default', LABELS=None, SURF='default', SURFCOLOR='default', VIEWS='default', XLIM=None, YLIM=None, BINARIZE=False, ORIENTATION='radiological')[source]

Function to create screenshots.

Parameters:
SUBJECTstr

The subject.

SUBJECTS_DIRstr

The subjects directory.

OUTFILEstr

The output file path.

INTERACTIVEbool, optional

Flag for interactive mode, default is True.

LAYOUTlist, optional

The layout, default is “default”.

BASEstr, optional

The base, default is “default”. Load norm.mgz as default.

OVERLAYstr, optional

The overlay, default is “default”. Load aseg.mgz as default. Can be None.

LABELSNone or str, optional

The labels, default is None.

SURFlist, optional

The surface, default is “default”. Can be None.

SURFCOLORlist, optional

The surface color, default is “default”. Can be None.

VIEWSlist, optional

The views, default is “default”.

XLIMNone or list, optional

The x limits, default is None.

YLIMNone or list, optional

The y limits, default is None.

BINARIZEbool, optional

Flag for binarization, default is False.

ORIENTATIONstr, optional

The orientation, default is “radiological”.

Notes

LAYOUT, VIEWS can be lists or “default”.

SURF, SURFCOLOR can be lists, None, or “default”.

XLIM, YLIM can be lists of list two-element numeric lists or None; if given, length must match length of VIEWS. x and y refer to final image dimensions, not MR volume dimensions.