cortex.quickflat.make_svg

cortex.quickflat.make_svg(fname, braindata, with_labels=False, with_curvature=True, layers=['rois'], height=1024, \*\*kwargs)[source]

Save an svg file of the desired flatmap.

This function creates an SVG file with vector graphic ROIs overlaid on a single png image. Ideally, this function would layer different images (curvature, data, dropout, etc), but that has been left to implement at a future date if anyone really wants it.

Parameters
fnamestring

file name to save

braindataDataview

the data you would like to plot on a flatmap

with_labelsbool

Whether to display text labels on ROIs

with_curvaturebool

Whether to include background curvature

layerslist

List of layer names to show

heightint

Height of PNG in pixels