Module Expr Str Import alias identifier ImportFrom alias Import alias identifier ImportFrom alias identifier ImportFrom alias alias alias alias alias alias alias alias alias alias FunctionDef arguments args defaults body Assign NameStore Dict Num Num ListLoad Num Num Num ListLoad Num Num Assign NameStore Dict Num Num Num Num Num Num Num Num Num Num Num Num Assign NameStore Call NameLoad NameLoad NameLoad Assert CompareEq Call NameLoad Call AttributeLoad NameLoad attr ListLoad Num Num Assert CompareEq SubscriptLoad NameLoad Index Num ListLoad Num Num Num Assert CompareEq SubscriptLoad NameLoad Index Num ListLoad Num Num decorator_list FunctionDef arguments args defaults body Assign NameStore Dict Num Num Num ListLoad Num Num Num ListLoad Num Num ListLoad Num Num Num Assign NameStore ListLoad Num Num Num Assign NameStore Call NameLoad NameLoad NameLoad Assert CompareEq Call NameLoad Call AttributeLoad NameLoad attr ListLoad Num Num Assert CompareEq SubscriptLoad NameLoad Index Num ListLoad Assert CompareEq SubscriptLoad NameLoad Index Num ListLoad Num decorator_list FunctionDef arguments args defaults body Assign NameStore Dict Str Dict Num Num Dict Str Str Str ListLoad Num Num Num ListLoad ListLoad Num Num ListLoad Num Num Dict Num Num Num TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num Dict Str Str ListLoad Num ListLoad Assign NameStore Dict Num Num Num Call NameLoad ListLoad Num Num Call NameLoad ListLoad Num Call NameLoad ListLoad Num Assert CompareEq Call NameLoad NameLoad Num ListLoad Num Num Num Expr Call NameLoad Call NameLoad NameLoad Num ListLoad TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num Assert CompareEq Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad keyword NameLoad Assert CompareEq AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr Dict Num Num ListLoad Num Num Num ListLoad Num Assert CompareEq AttributeLoad NameLoad attr ListLoad Num Num Num Assert CompareEq AttributeLoad NameLoad attr Num Expr Call NameLoad AttributeLoad NameLoad attr ListLoad TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num decorator_list FunctionDef arguments args defaults body Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Assign NameStore Call NameLoad NameLoad keyword NameLoad Expr Call NameLoad AttributeLoad NameLoad attr NameLoad Assert CompareIs AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad Assert CompareEq AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad Assert CompareEq AttributeLoad NameLoad attr NameLoad With Call NameLoad NameLoad body Expr Call NameLoad keyword Call AttributeLoad NameLoad attr BinOpAdd NameLoad Num keyword NameLoad With Call NameLoad NameLoad body Expr Call NameLoad keyword NameLoad keyword SubscriptLoad NameLoad ExtSlice Slice Num Slice decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Num Assert CompareEq AttributeLoad NameLoad attr TupleLoad Num Num Expr Call NameLoad SubscriptLoad NameLoad Index Num TupleLoad Num Num Assign NameStore Call NameLoad Num Assert CompareEq AttributeLoad NameLoad attr TupleLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Assert CompareIn Str Call NameLoad Assign NameStore Call NameLoad Str Assert NameLoad Assert CompareEq AttributeLoad NameLoad attr Call NameLoad Call NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str With Call NameLoad NameLoad body Expr Call NameLoad NameLoad With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr Str With Call NameLoad NameLoad body Expr Call NameLoad NameLoad decorator_list
N/A N/A Test MEA. N/A os.path op pytest raises N/A numpy np numpy.testing assert_array_equal ae mea _probe_channels _remap_adjacency _adjacency_subset _probe_positions _probe_adjacency_list MEA linear_positions staggered_positions load_probe list_probes test_remap N/A N/A N/A N/A N/A adjacency N/A 1 3 N/A 2 3 7 N/A 5 11 N/A mapping N/A 1 2 3 5 7 11 3 20 30 50 70 1 N/A remapped N/A _remap_adjacency adjacency mapping N/A N/A N/A sorted N/A N/A remapped keys N/A 3 30 N/A N/A N/A remapped N/A 3 N/A 20 30 70 N/A N/A N/A remapped N/A 30 N/A 50 1 N/A test_adjacency_subset N/A N/A N/A N/A N/A adjacency N/A 1 3 5 N/A 2 3 7 N/A 5 11 N/A 1 2 11 N/A subset N/A 1 5 32 N/A adjsub N/A _adjacency_subset adjacency subset N/A N/A N/A sorted N/A N/A adjsub keys N/A 1 5 N/A N/A N/A adjsub N/A 1 N/A N/A N/A N/A adjsub N/A 5 N/A 1 N/A test_probe N/A N/A N/A N/A N/A probe N/A channel_groups N/A 0 1 N/A channels graph geometry N/A 0 3 1 N/A N/A 0 3 N/A 1 0 N/A 0 1 3 N/A 10 10 N/A 10 20 N/A 20 30 N/A channels graph N/A 7 N/A N/A adjacency N/A 0 1 3 N/A set N/A 1 3 N/A set N/A 0 N/A set N/A 0 N/A N/A N/A _probe_channels probe 0 N/A 0 3 1 N/A N/A ae N/A _probe_positions probe 0 N/A N/A 10 10 N/A 20 30 N/A 10 20 N/A N/A N/A _probe_adjacency_list probe adjacency N/A mea N/A MEA probe probe N/A N/A N/A mea adjacency adjacency N/A N/A N/A mea channels_per_group N/A 0 1 N/A 0 3 1 N/A 7 N/A N/A N/A mea channels N/A 0 3 1 N/A N/A N/A mea n_channels 3 N/A N/A ae N/A mea positions N/A N/A 10 10 N/A 20 30 N/A 10 20 N/A test_mea N/A N/A N/A N/A N/A n_channels 10 N/A channels N/A N/A np arange n_channels N/A positions N/A N/A N/A np random randn n_channels 2 N/A mea N/A MEA channels positions positions N/A N/A ae N/A mea positions positions N/A N/A N/A mea adjacency None N/A mea N/A MEA channels positions positions N/A N/A N/A mea n_channels n_channels N/A mea N/A MEA channels positions positions N/A N/A N/A mea n_channels n_channels N/A N/A raises ValueError N/A N/A N/A MEA channels N/A N/A np arange N/A n_channels 1 positions positions N/A N/A raises ValueError N/A N/A N/A MEA channels channels positions N/A positions N/A N/A -1 N/A N/A test_positions N/A N/A N/A N/A N/A probe N/A staggered_positions 31 N/A N/A N/A probe shape N/A 31 2 N/A N/A ae N/A probe N/A -1 N/A 0 0 N/A probe N/A linear_positions 29 N/A N/A N/A probe shape N/A 29 2 N/A test_library N/A N/A tempdir N/A N/A N/A N/A 1x32_buzsaki N/A list_probes N/A probe N/A load_probe 1x32_buzsaki N/A probe N/A N/A N/A probe channels N/A list N/A range 32 N/A path N/A N/A op join tempdir test.prb N/A N/A raises IOError N/A N/A N/A load_probe path N/A N/A open path w f N/A N/A N/A N/A f write N/A N/A raises KeyError N/A N/A N/A load_probe path N/A