allensdk.api.queries.svg_api module

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

Bases: allensdk.api.api.Api

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

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

Parameters:
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.

Returns:
url : string

The constructed URL

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

Download the svg file

get_svg(section_image_id, groups=None)[source]

Get the svg document.