driver - Methods to control the AFNI GUI¶
Control AFNI GUI
-
neural.driver.driver_send(command, hostname=None, wait=0.2)[source]¶ Send a command (or
listof commands) to AFNI athostname(defaults to local host) Requires plugouts enabled (open afni with-yesplugoutsor setAFNI_YESPLUGOUTS = YESin.afnirc) Ifwaitis notNone, will automatically sleepwaitseconds after sending the command (to make sure it took effect)
-
neural.driver.save_image(filename, view='axial', type='png', hostname=None)[source]¶ Save currently open AFNI view
viewtofilenameusingtype(pngorjpeg)