Links

insects_brains_db

Contents

IBDB

__init__ [#55]

Check the source code online
def __init__(self, species=None, sex=None, base_dir=None,
make_root=True, **kwargs):
  docstring:
no docstring

get_brain_id_from_species_name [#80]

Check the source code online
def get_brain_id_from_species_name(self, sel_species):
  docstring:
no docstring

get_structures_hierarchy [#97]

Check the source code online
def get_structures_hierarchy(self):
  docstring:
no docstring

get_structures_reconstructions [#132]

Check the source code online
def get_structures_reconstructions(self, species, sex):
  docstring:
no docstring

get_brain [#216]

Check the source code online
def get_brain(self, species=None, sex=None):
  docstring:
no docstring

download_and_write_mesh [#245]

Check the source code online
def download_and_write_mesh(self, acronym, obj_path):
  docstring:
no docstring

make_root_mesh [#262]

Check the source code online
def make_root_mesh(self):
  docstring:
no docstring

_get_structure_mesh [#281]

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_valid_region_arg [#315]

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_obj_file [#326]

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.

get_region_color [#339]

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.

get_brain_regions [#368]

Check the source code online
def get_brain_regions(self, brain_regions, alpha=None, colors=None,
use_original_color=True, **kwargs):
  docstring:
no docstring

add_descendants_to_tree [#98]

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
Last modified 2yr ago