Fork me on GitHub

pyhrf.test.test_parcellation module

class pyhrf.test.test_parcellation.CmdParcellationTest(methodName='runTest')

Bases: unittest.case.TestCase

setUp()

Hook method for setting up the test fixture before exercising it.

tearDown()

Hook method for deconstructing the test fixture after testing it.

test_voronoi_with_seeds()
test_ward_spatial_cmd(**kwargs)
test_ward_spatial_real_data(**kwargs)
class pyhrf.test.test_parcellation.MeasureTest(methodName='runTest')

Bases: unittest.case.TestCase

setUp()

Hook method for setting up the test fixture before exercising it.

test_intersection_matrix()
test_parcellation_distance(**kwargs)
class pyhrf.test.test_parcellation.ParcellationMethodTest(methodName='runTest')

Bases: unittest.case.TestCase

setUp()

Hook method for setting up the test fixture before exercising it.

test_ward_spatial_scikit(**kwargs)
test_ward_spatial_scikit_with_mask(**kwargs)
class pyhrf.test.test_parcellation.SpatialTest(methodName='runTest')

Bases: unittest.case.TestCase

test_balanced_parcellation()

Test if balanced partitioning returns parcels with almost equal sizes (tolerance=1) on a 3D rectangular mask

test_split_parcel()
test_voronoi_parcellation()