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:
- SUBJECT
str The subject.
- SUBJECTS_DIR
str The subjects directory.
- OUTFILE
str The output file path.
- INTERACTIVE
bool,optional Flag for interactive mode, default is True.
- LAYOUT
list,optional The layout, default is “default”.
- BASE
str,optional The base, default is “default”. Load norm.mgz as default.
- OVERLAY
str,optional The overlay, default is “default”. Load aseg.mgz as default. Can be None.
- LABELS
Noneorstr,optional The labels, default is None.
- SURF
list,optional The surface, default is “default”. Can be None.
- SURFCOLOR
list,optional The surface color, default is “default”. Can be None.
- VIEWS
list,optional The views, default is “default”.
- XLIM
Noneorlist,optional The x limits, default is None.
- YLIM
Noneorlist,optional The y limits, default is None.
- BINARIZE
bool,optional Flag for binarization, default is False.
- ORIENTATION
str,optional The orientation, default is “radiological”.
- SUBJECT
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.