ibllib.tests.test_atlas

Classes

TestAtlas

TestAtlasPlots

TestAtlasSlicesConversion

TestBrainRegions

TestFranklinPaxinos

TestInsertion

TestTrajectory

TestsCoordinatesSimples

class TestBrainRegions(methodName='runTest')[source]

Bases: TestCase

classmethod setUpClass()[source]

Hook method for setting up class fixture before running tests in the class.

test_to_df()[source]
test_hexcolor()[source]
test_rgba()[source]
test_get()[source]
test_ancestors_descendants()[source]
test_ancestors_descendants_indices()[source]
test_mappings_lateralized()[source]
test_mappings_not_lateralized()[source]
test_remap()[source]
test_id2id()[source]
test_id2acro()[source]
test_id2index()[source]
test_acro2acro()[source]
test_acro2id()[source]
test_acro2index()[source]
test_index2id()[source]
test_index2acronym()[source]
test_prepare_lr_data()[source]
test_reorder_data()[source]
test_argument_parser()[source]
test_compute_hierarchy()[source]
test_propagate_down()[source]
class TestAtlas(methodName='runTest')[source]

Bases: TestCase

classmethod setUpClass()[source]

Hook method for setting up class fixture before running tests in the class.

test_compute_regions_volume()[source]
class TestAtlasPlots(methodName='runTest')[source]

Bases: TestCase

classmethod setUpClass()[source]

Hook method for setting up class fixture before running tests in the class.

test_coronal_slice()[source]
test_sagittal_slice()[source]
test_horizontal_slice()[source]
tearDown() None[source]

Hook method for deconstructing the test fixture after testing it.

class TestAtlasSlicesConversion(methodName='runTest')[source]

Bases: TestCase

classmethod setUpClass()[source]

Hook method for setting up class fixture before running tests in the class.

test_allen_ba()[source]
test_lookup_outside_the_brain()[source]
test_lookups()[source]
test_lookups_probabilistic()[source]
test_plot_slices()[source]
test_slice()[source]
test_ccf_xyz()[source]
class TestInsertion(methodName='runTest')[source]

Bases: TestCase

test_init_from_dict()[source]
test_init_from_track()[source]
class TestTrajectory(methodName='runTest')[source]

Bases: TestCase

test_project_mindist()[source]
test_eval_trajectory()[source]
test_trajectory()[source]
test_exit_volume()[source]
class TestsCoordinatesSimples(methodName='runTest')[source]

Bases: TestCase

test_brain_coordinates()[source]
test_reverse_directions()[source]
test_sph2cart_and_back()[source]
class TestFranklinPaxinos(methodName='runTest')[source]

Bases: TestCase

classmethod setUpClass()[source]

Hook method for setting up class fixture before running tests in the class.

test_level()[source]
test_conversions()[source]