utils.scripts

Documentation

Utilities to create a common interface to all the scripts

Functions

get_docstring(filename)

Extracts the filename from the docstring

greyordinate_in(value)

Input greyordinate image

output(path[, format])

Creates function to write provided output to a path

run_script(add_to_parser, run_from_args[, argc])

Run script from command line

surface_arr_in(value)

Reads in arrays across the vertex

surface_in(value)

Reads one or two surfaces from GIFTI files

surface_label_in(value)

Reads in surface parcellation from a label file

volume_in(value)

Reads in a volume from a NIFTI or CIFTI file

Classes

ScriptDirectory([directory, in_module])

Directory containing 1 or more python scripts