allensdk.api.queries.svg_api module

class allensdk.api.queries.svg_api.SvgApi(base_uri=None)[source]

Bases: allensdk.api.api.Api

build_query(self, section_image_id, groups=None, download=False)[source]

Build the URL that will fetch meta data for the specified structure.

section_image_id : integer

Key of the object to be retrieved.

groups : array of integers

Keys of the group labels to filter the svg types that are returned.

url : string

The constructed URL

download_svg(self, section_image_id, groups=None, file_path=None)[source]

Download the svg file

get_svg(self, section_image_id, groups=None)[source]

Get the svg document.