insects_brains_db

Contents

IBDB

__init__ [#55]

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

get_brain_id_from_species_name [#80]

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

get_structures_hierarchy [#97]

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

get_structures_reconstructions [#132]

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

get_brain [#216]

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

download_and_write_mesh [#245]

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

make_root_mesh [#262]

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

_get_structure_mesh [#281]

Check the source code online
1
def _get_structure_mesh(self, acronym, **kwargs):
Copied!
  docstring:
1
Fetches the mesh for a brain region from the atlas.
2
3
:param acronym: string, acronym of brain region
4
5
:param **kwargs:
Copied!

_check_valid_region_arg [#315]

Check the source code online
1
def _check_valid_region_arg(self, region):
Copied!
  docstring:
1
Check that the string passed is a valid brain region name.
Copied!

_check_obj_file [#326]

Check the source code online
1
def _check_obj_file(self, region, obj_file):
Copied!
  docstring:
1
If the .obj file for a brain region hasn't been downloaded already,
2
this function downloads it and writes it.
3
4
:param region: string, acronym of brain region
5
6
:param obj_file: path to .obj file to write downloaded data.
Copied!

get_region_color [#339]

Check the source code online
1
def get_region_color(self, regions):
Copied!
  docstring:
1
Gets the RGB color of a brain region from the atlas.
2
3
:param regions: list of regions acronyms.
Copied!

get_brain_regions [#368]

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

add_descendants_to_tree [#98]

Check the source code online
1
def add_descendants_to_tree(tree, structure, parent_id=None):
Copied!
  docstring:
1
Recursively goes through all the the descendants of a region and adds
2
them to the tree
Copied!
Last modified 1yr ago