Module Assign NameStore ListLoad Str Str Import alias identifier TryExcept body Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias handlers ExceptHandler type NameLoad body Assign NameStore NameLoad ImportFrom alias ImportFrom alias ImportFrom alias Import alias identifier ClassDef bases NameLoad body Assign NameStore TupleLoad Str Str Str Str Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Pass decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad Call NameLoad NameLoad NameLoad Slice Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareGt Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr keyword SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Index Num decorator_list FunctionDef arguments args NameParam defaults body For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Raise Call NameLoad BinOpMod Str Call NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign SubscriptStore NameLoad Index Num Str Assign SubscriptStore NameLoad Index Num Num Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr CompareEq Call AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad BinOpAdd AttributeLoad NameLoad attr Str Num Expr Call AttributeLoad NameLoad attr CompareEq SubscriptLoad NameLoad Index Num Num Expr Call AttributeLoad NameLoad attr CompareEq Call AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr CompareIn Num NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Num NameLoad Expr Call AttributeLoad NameLoad attr CompareNotIn Num NameLoad Delete SubscriptDel NameLoad Index Num Expr Call AttributeLoad NameLoad attr CompareNotIn Num NameLoad Delete SubscriptDel NameLoad Index Num Expr Call AttributeLoad NameLoad attr CompareNotIn Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Dict For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call NameLoad NameLoad NameLoad Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword Num decorator_list decorator_list Call AttributeLoad NameLoad attr CompareIs NameLoad NameLoad Str
N/A N/A __author__ N/A Henri Bunting Robert Meyer N/A numpy np N/A N/A N/A brian2 brian2.monitors.spikemonitor SpikeMonitor brian2.monitors.statemonitor StateMonitor brian2.monitors.ratemonitor PopulationRateMonitor pypet.brian2.parameter Brian2MonitorResult N/A N/A N/A ImportError N/A N/A brian2 None pypet.tests.testutils.ioutils unittest pypet.tests.unittests.parameter_test ResultTest pypet.tests.unittests.brian2tests.run_a_brian2_network run_network N/A pypet.utils.comparisons comp Brian2MonitorTest N/A ResultTest N/A N/A tags N/A unittest brian2 result monitor henri setUpClass N/A N/A cls N/A N/A N/A N/A Brian2MonitorResult monitors N/A run_network N/A N/A classmethod setUp N/A N/A self N/A N/A N/A N/A self monitors N/A Brian2MonitorResult monitors N/A N/A N/A self make_results N/A N/A N/A self make_constructor N/A make_constructor N/A N/A self N/A N/A N/A N/A self Constructor Brian2MonitorResult N/A N/A self dynamic_imports N/A Brian2MonitorResult N/A check_spike_monitor N/A N/A self res monitor N/A N/A N/A N/A N/A self assertTrue N/A N/A comp nested_equal N/A monitor num_spikes N/A res num_spikes N/A N/A N/A self assertTrue N/A N/A comp nested_equal N/A str N/A monitor source N/A res source N/A N/A N/A self assertEqual N/A monitor name N/A res name N/A N/A N/A self assertTrue N/A N/A comp nested_equal N/A N/A monitor t N/A N/A res t N/A N/A N/A self assertTrue N/A N/A comp nested_equal N/A N/A monitor i N/A N/A res i N/A N/A idx varname N/A enumerate N/A monitor record_variables N/A N/A N/A N/A self assertTrue N/A N/A comp nested_equal N/A N/A getattr monitor varname N/A N/A N/A res f_get varname N/A check_state_monitor N/A N/A self res monitor N/A N/A N/A N/A N/A self assertEqual N/A monitor record_variables N/A res record_variables N/A N/A N/A self assertEqual N/A monitor name N/A res name N/A times N/A N/A np array N/A monitor t N/A N/A N/A len times 0 N/A N/A N/A N/A self assertTrue N/A N/A comp nested_equal times N/A res t N/A N/A idx varname N/A enumerate N/A monitor record_variables N/A N/A N/A N/A self assertTrue N/A N/A comp nested_equal N/A monitor record N/A res record N/A N/A N/A self assertTrue N/A N/A comp nested_equal N/A monitor when N/A res when N/A N/A N/A self assertTrue N/A N/A comp nested_equal N/A str N/A monitor source N/A res source N/A N/A N/A self assertTrue N/A N/A comp nested_equal N/A getattr monitor varname N/A N/A res f_get varname N/A check_population_rate_monitor N/A N/A self res monitor N/A N/A N/A N/A N/A self assertEqual N/A str N/A monitor source N/A res source N/A N/A N/A self assertEqual N/A monitor name N/A res name N/A N/A N/A self assertTrue N/A N/A comp nested_equal N/A N/A monitor rate N/A N/A res rate N/A N/A N/A self assertTrue N/A N/A comp nested_equal N/A N/A monitor t N/A N/A res t N/A test_failing_adding_another_monitor N/A N/A self N/A N/A N/A res N/A N/A N/A self results values N/A N/A N/A N/A self assertRaises TypeError N/A N/A N/A N/A res f_set monitor N/A N/A N/A N/A self monitors values N/A 0 N/A test_the_insertion_made_implicetly_in_setUp N/A N/A self N/A N/A N/A N/A key monitor N/A N/A N/A self monitors items N/A N/A res N/A N/A self results N/A key N/A N/A N/A self assertEqual N/A res testtestextra 42 N/A N/A N/A self assertEqual N/A res v_monitor_type N/A N/A monitor __class__ __name__ N/A N/A isinstance monitor SpikeMonitor N/A N/A N/A N/A self check_spike_monitor res monitor N/A N/A N/A isinstance monitor StateMonitor N/A N/A N/A N/A self check_state_monitor res monitor N/A N/A N/A isinstance monitor PopulationRateMonitor N/A N/A N/A N/A self check_population_rate_monitor res monitor N/A N/A N/A ValueError N/A Monitor Type %s is not supported (yet) N/A str N/A type monitor N/A test_dir N/A N/A self N/A N/A N/A res N/A N/A self results N/A SpikeMonitor N/A N/A N/A self assertTrue N/A i res N/A N/A N/A self assertTrue N/A i N/A dir res N/A test_set_item_via_number N/A N/A self N/A N/A N/A res N/A N/A self results N/A SpikeMonitor N/A N/A res N/A 0 Hi N/A N/A res N/A 777 777 N/A N/A N/A self assertTrue N/A N/A getattr res N/A res v_name Hi N/A N/A N/A self assertTrue N/A N/A N/A res f_get 0 Hi N/A N/A N/A self assertTrue N/A N/A getattr res N/A N/A res v_name _777 777 N/A N/A N/A self assertTrue N/A N/A res N/A 777 777 N/A N/A N/A self assertTrue N/A N/A N/A res f_get 777 777 N/A N/A N/A self assertTrue N/A 0 res N/A N/A N/A self assertTrue N/A 777 res N/A N/A N/A self assertTrue N/A 99999999 res N/A N/A res N/A 0 N/A N/A N/A self assertTrue N/A 0 res N/A N/A res N/A 777 N/A N/A N/A self assertTrue N/A 777 res N/A make_results N/A N/A self N/A N/A N/A N/A self results N/A N/A N/A key monitor N/A N/A N/A self monitors items N/A N/A N/A N/A self results N/A key N/A Brian2MonitorResult key monitor N/A N/A N/A N/A N/A self results N/A key f_set testtestextra 42 N/A N/A N/A N/A unittest skipIf N/A brian2 None Can only be run with brian2!