brainglobe_atlasapi.utils#
Description
Provide utility functions for brainglobe-atlasapi.
Functions
Generate atlas name given a description. |
|
Generate dictionary with atlas description given the name. |
|
Check that the GIN server is up. |
|
Check that there is an internet connection url : str url to use for testing (Default value = 'http://www.google.com/') timeout : int timeout to wait for [in seconds] (Default value = 5). raise_error : bool if false, warning but no error. |
|
Read a configuration file from a local file path. |
|
Read conf file from a URL and cache a copy of the configuration file in the brainglobe directory. |
|
Get file size based on the MB value on the "src" page of each atlas. |
|
Read a json file. |
|
Read a tiff file. |
|
Download file from remote location, with progress bar. |