- IBDB
__init__
[#55]get_brain_id_from_species_name
[#80]get_structures_hierarchy
[#97]get_structures_reconstructions
[#132]get_brain
[#216]download_and_write_mesh
[#245]make_root_mesh
[#262]_get_structure_mesh
[#281]_check_valid_region_arg
[#315]_check_obj_file
[#326]get_region_color
[#339]get_brain_regions
[#368]add_descendants_to_tree
[#98]
Check the source code
online
def __init__(self, species=None, sex=None, base_dir=None,
make_root=True, **kwargs):
docstring:
no docstring
Check the source code
online
def get_brain_id_from_species_name(self, sel_species):
docstring:
no docstring
Check the source code
online
def get_structures_hierarchy(self):
docstring:
no docstring
Check the source code
online
def get_structures_reconstructions(self, species, sex):
docstring:
no docstring
Check the source code
online
def get_brain(self, species=None, sex=None):
docstring:
no docstring
Check the source code
online
def download_and_write_mesh(self, acronym, obj_path):
docstring:
no docstring
Check the source code
online
def make_root_mesh(self):
docstring:
no docstring
Check the source code
online
def _get_structure_mesh(self, acronym, **kwargs):
docstring:
Fetches the mesh for a brain region from the atlas.
:param acronym: string, acronym of brain region
:param **kwargs:
Check the source code
online
def _check_valid_region_arg(self, region):
docstring:
Check that the string passed is a valid brain region name.
Check the source code
online
def _check_obj_file(self, region, obj_file):
docstring:
If the .obj file for a brain region hasn't been downloaded already,
this function downloads it and writes it.
:param region: string, acronym of brain region
:param obj_file: path to .obj file to write downloaded data.
Check the source code
online
def get_region_color(self, regions):
docstring:
Gets the RGB color of a brain region from the atlas.
:param regions: list of regions acronyms.
Check the source code
online
def get_brain_regions(self, brain_regions, alpha=None, colors=None,
use_original_color=True, **kwargs):
docstring:
no docstring
Check the source code
online
def add_descendants_to_tree(tree, structure, parent_id=None):
docstring:
Recursively goes through all the the descendants of a region and adds
them to the tree