cortex.database.Database.save_view

Database.save_view(vw, subject, name, is_overwrite=False)[source]

Set the view for an open webshow instance from a saved view

Sets the view in a currently-open cortex.webshow instance (with handle vw) to the saved view named name

Parameters
vwhandle for pycortex webgl viewer

Handle for open webgl session (returned by cortex.webshow)

subjectstring

pycortex subject id

namestring

Name of stored view to re-load

Notes

Equivalent to call to vw.save_view(subject,name) For a list of the view parameters saved, see viewer._capture_view