Base class for atlases using XML as the definition backend
Methods
label_point(coord[, levels]) | Return labels for the given spatial point at specified levels |
levels_listing() | |
load_atlas(filename) | Load atlas from a file |
query(index[, query_voxel]) | Generic query method. |
set_coordT(coordT) | Set coordT transformation. |
Parameters: | filename : str
resolution : None or float
image_file : None or str
coordT :
default_levels : None or slice or list of int
load_maps : bool
|
---|
Methods
label_point(coord[, levels]) | Return labels for the given spatial point at specified levels |
levels_listing() | |
load_atlas(filename) | Load atlas from a file |
query(index[, query_voxel]) | Generic query method. |
set_coordT(coordT) | Set coordT transformation. |
Return labels for the given spatial point at specified levels
Function takes care about first transforming the point into the voxel space
Parameters: | coord : tuple
levels : None or list of int
|
---|
Load atlas from a file
Generic query method.
Use shortcuts __getitem__ for querying by voxel indices and __call__ for querying by space coordinates.
Parameters: | index : tuple or list
query_voxel : bool
Allows to access the elements via simple indexing. Examples:: :
|
---|
Set coordT transformation.
spaceT needs to be adjusted since we glob those two transformations together