driver - Methods to control the AFNI GUI

Control AFNI GUI

class neural.driver.coord[source]

enum of coordinate types

neural.driver.driver_send(command, hostname=None, wait=0.2)[source]

Send a command (or list of commands) to AFNI at hostname (defaults to local host) Requires plugouts enabled (open afni with -yesplugouts or set AFNI_YESPLUGOUTS = YES in .afnirc) If wait is not None, will automatically sleep wait seconds after sending the command (to make sure it took effect)

class neural.driver.dset[source]

enum for defining underlay/overlay

neural.driver.save_image(filename, view='axial', type='png', hostname=None)[source]

Save currently open AFNI view view to filename using type (png or jpeg)

neural.driver.set_thresh(thresh, p=False, hostname=None)[source]

Sets the level of the threshold slider. If p==True will be interpreted as a _p_-value

class neural.driver.xhairs[source]

enum of xhairs modes