Module ImportFrom alias alias ImportFrom alias Import alias identifier ImportFrom alias FunctionDef arguments args defaults body Assign NameStore Num Assign TupleStore NameStore NameStore TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr BinOpMult BinOpMult NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num Num Num Num ListLoad Num Num Num Num Num Num ListLoad Num Num Num Num Num Num ListLoad Num Num Num Num Num Num Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Num Assign TupleStore NameStore NameStore TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr BinOpMult BinOpMult NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad keyword Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num Num Num Num ListLoad Num Num Num Num Num Num ListLoad Num Num Num Num Num Num ListLoad Num Num Num Num Num Num Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Num Assign TupleStore NameStore NameStore TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr BinOpMult BinOpMult NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Expr Call NameLoad AttributeLoad NameLoad attr TupleLoad BinOpMult NameLoad NameLoad BinOpMult NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Num Assign TupleStore NameStore NameStore TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr BinOpMult BinOpMult NameLoad NameLoad NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad keyword TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num Num ListLoad Num Num Num Num ListLoad Num Num Num Num ListLoad Num Num Num Num ListLoad Num Num Num Num ListLoad Num Num Num Num Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Num Assign TupleStore NameStore NameStore TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr BinOpMult BinOpMult NameLoad NameLoad NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num Num Num Num ListLoad Num Num Num Num Num Num ListLoad Num Num Num Num Num Num ListLoad Num Num Num Num Num Num ListLoad Num Num Num Num Num Num ListLoad Num Num Num Num Num Num Expr Call NameLoad Call AttributeLoad NameLoad attr Num Expr Call NameLoad Call AttributeLoad NameLoad attr Num Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Num Num Expr Call NameLoad NameLoad decorator_list Call NameLoad NameLoad If CompareEq NameLoad Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr
N/A nose.tools assert_equal raises numpy.testing assert_array_equal N/A numpy np skimage.util.montage montage2d test_simple N/A N/A N/A N/A N/A n_images 3 N/A N/A height width N/A 2 3 N/A arr_in N/A N/A np arange N/A N/A n_images height width N/A arr_in N/A N/A arr_in reshape n_images height width N/A arr_out N/A montage2d arr_in N/A gt N/A N/A np array N/A N/A 0.0 1.0 2.0 6.0 7.0 8.0 N/A 3.0 4.0 5.0 9.0 10.0 11.0 N/A 12.0 13.0 14.0 8.5 8.5 8.5 N/A 15.0 16.0 17.0 8.5 8.5 8.5 N/A N/A assert_array_equal arr_out gt N/A test_fill N/A N/A N/A N/A N/A n_images 3 N/A N/A height width N/A 2 3 N/A arr_in N/A N/A np arange N/A N/A n_images height width N/A arr_in N/A N/A arr_in reshape n_images height width N/A arr_out N/A montage2d arr_in fill 0 N/A gt N/A N/A np array N/A N/A 0.0 1.0 2.0 6.0 7.0 8.0 N/A 3.0 4.0 5.0 9.0 10.0 11.0 N/A 12.0 13.0 14.0 0.0 0.0 0.0 N/A 15.0 16.0 17.0 0.0 0.0 0.0 N/A N/A assert_array_equal arr_out gt N/A test_shape N/A N/A N/A N/A N/A n_images 15 N/A N/A height width N/A 11 7 N/A arr_in N/A N/A np arange N/A N/A n_images height width N/A arr_in N/A N/A arr_in reshape n_images height width N/A alpha N/A int N/A N/A np ceil N/A N/A np sqrt n_images N/A arr_out N/A montage2d arr_in N/A N/A assert_equal N/A arr_out shape N/A N/A alpha height N/A alpha width N/A test_grid_shape N/A N/A N/A N/A N/A n_images 6 N/A N/A height width N/A 2 2 N/A arr_in N/A N/A np arange N/A N/A n_images height width dtype N/A np float32 N/A arr_in N/A N/A arr_in reshape n_images height width N/A arr_out N/A montage2d arr_in grid_shape N/A 3 2 N/A correct_arr_out N/A N/A np array N/A N/A 0.0 1.0 4.0 5.0 N/A 2.0 3.0 6.0 7.0 N/A 8.0 9.0 12.0 13.0 N/A 10.0 11.0 14.0 15.0 N/A 16.0 17.0 20.0 21.0 N/A 18.0 19.0 22.0 23.0 N/A N/A assert_array_equal arr_out correct_arr_out N/A test_rescale_intensity N/A N/A N/A N/A N/A n_images 4 N/A N/A height width N/A 3 3 N/A arr_in N/A N/A np arange N/A N/A n_images height width dtype N/A np float32 N/A arr_in N/A N/A arr_in reshape n_images height width N/A arr_out N/A montage2d arr_in rescale_intensity True N/A gt N/A N/A np array N/A N/A 0.0 0.125 0.25 0.0 0.125 0.25 N/A 0.375 0.5 0.625 0.375 0.5 0.625 N/A 0.75 0.875 1.0 0.75 0.875 1.0 N/A 0.0 0.125 0.25 0.0 0.125 0.25 N/A 0.375 0.5 0.625 0.375 0.5 0.625 N/A 0.75 0.875 1.0 0.75 0.875 1.0 N/A N/A assert_equal N/A N/A arr_out min 0.0 N/A N/A assert_equal N/A N/A arr_out max 1.0 N/A N/A assert_array_equal arr_out gt N/A test_error_ndim N/A N/A N/A N/A N/A arr_error N/A N/A N/A np random randn 1 2 3 4 N/A N/A montage2d arr_error N/A N/A raises AssertionError N/A N/A __name__ __main__ N/A N/A N/A N/A N/A np testing run_module_suite