Module Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias Import alias Assign NameStore Call NameLoad Call NameLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore BoolOpOr CompareGt SubscriptLoad NameLoad Index Num Num BoolOpAnd CompareEq SubscriptLoad NameLoad Index Num Num CompareGtE SubscriptLoad NameLoad Index Num Num FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num BinOpMult Num AttributeLoad NameLoad attr Num Assign NameStore BinOpAdd Num BinOpMult Num Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpAdd Num BinOpMult Num Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad NameLoad Num NameLoad keyword Num keyword Num keyword Num keyword Num keyword Num Assign NameStore ListLoad Num Num Num Num Num Num Num Num Num Num Assign NameStore ListLoad Num Num Num Num Num Num Num Num Num Num Expr Call NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Num Index Num keyword AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Num Index Num keyword AttributeLoad NameLoad attr NameLoad decorator_list Call NameLoad UnaryOpNot NameLoad FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num Num Num Assign NameStore Call AttributeLoad NameLoad attr Num Num Num Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad NameLoad Num NameLoad keyword Str keyword Num keyword Num keyword Num keyword Num keyword Num Assign NameStore ListLoad Num Num Num Num Num Num Num Num Num Num Assign NameStore ListLoad Num Num Num Num Num Num Num Num Num Num Expr Call NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Num Index Num keyword AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Num Index Num keyword AttributeLoad NameLoad attr NameLoad decorator_list Call NameLoad UnaryOpNot NameLoad FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num Num Num Assign NameStore Call AttributeLoad NameLoad attr Num Num Num Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad NameLoad Num NameLoad keyword Str keyword Num keyword Num keyword Num keyword Num keyword Num Assign NameStore ListLoad Num Num Num Num Num Num Num Num Num Num Assign NameStore ListLoad Num Num Num Num Num Num Num Num Num Num Expr Call NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Num Index Num keyword AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Num Index Num keyword AttributeLoad NameLoad attr NameLoad decorator_list Call NameLoad UnaryOpNot NameLoad FunctionDef arguments args defaults body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num Num Assign NameStore Call AttributeLoad NameLoad attr TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num Num Assign NameStore Call AttributeLoad NameLoad attr TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num Num Assign SubscriptStore NameLoad ExtSlice Slice Slice Index Num NameLoad Assign SubscriptStore NameLoad ExtSlice Slice Slice Index Num NameLoad Assign SubscriptStore NameLoad ExtSlice Slice Slice Slice SubscriptLoad NameLoad ExtSlice Slice Slice Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num Num Num Assign NameStore Call AttributeLoad NameLoad attr Num Num Num Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad keyword Str keyword Num keyword Num keyword Num keyword Num keyword Num Assign NameStore ListLoad Num Num Num Num Num Num Num Num Num Num Assign NameStore ListLoad Num Num Num Num Num Num Num Num Num Num Expr Call NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Num Index Num keyword AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Num Index Num keyword AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad keyword Str keyword Num keyword Num keyword Num keyword Num keyword Num Expr Call NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Num Index Num keyword AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Num Index Num keyword AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad keyword Str keyword Num keyword Num keyword BinOpDiv Num Num keyword Num keyword Num Expr Call NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Num Index Num keyword AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Num Index Num keyword AttributeLoad NameLoad attr NameLoad decorator_list Call NameLoad UnaryOpNot NameLoad FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num BinOpMult Num AttributeLoad NameLoad attr Num Assign NameStore BinOpAdd Num BinOpMult Num Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpAdd Num BinOpMult Num Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad NameLoad Num NameLoad keyword Str keyword Num keyword Num keyword Num keyword Num keyword Num keyword Num Assert CompareLt Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpSub SubscriptLoad NameLoad ExtSlice Index Num Slice SubscriptLoad NameLoad ExtSlice Index Num Slice Num Assign NameStore Call NameLoad Call NameLoad NameLoad Num NameLoad keyword Str keyword Num keyword Num keyword Num keyword Num keyword Num keyword Num Assert CompareGt Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpSub SubscriptLoad NameLoad ExtSlice Index Num Slice SubscriptLoad NameLoad ExtSlice Index Num Slice Num Assign NameStore Call NameLoad Call NameLoad NameLoad Num NameLoad keyword Str keyword Num keyword Num keyword Num keyword Num keyword Num keyword Num Expr Call NameLoad SubscriptLoad NameLoad ExtSlice Index Num Slice ListLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num keyword Num decorator_list Call NameLoad UnaryOpNot NameLoad FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr Num Num Num Assign NameStore Call AttributeLoad NameLoad attr Num Num Num Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad keyword Str Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad keyword Num decorator_list Call NameLoad UnaryOpNot NameLoad If CompareEq NameLoad Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr
N/A N/A numpy np skimage data skimage.color rgb2gray skimage.filters gaussian_filter skimage.segmentation active_contour numpy.testing assert_equal assert_allclose assert_raises numpy.testing.decorators skipif N/A scipy N/A scipy_version N/A list N/A map int N/A N/A N/A scipy __version__ split . N/A new_scipy N/A N/A N/A scipy_version N/A 0 0 N/A N/A N/A scipy_version N/A 0 0 N/A N/A scipy_version N/A 1 14 test_periodic_reference N/A N/A N/A N/A N/A img N/A N/A data astronaut N/A img N/A rgb2gray img N/A s N/A N/A np linspace 0 N/A 2 N/A np pi 400 N/A x N/A 220 N/A 100 N/A N/A np cos s N/A y N/A 100 N/A 100 N/A N/A np sin s N/A init N/A N/A N/A np array N/A x y T N/A snake N/A active_contour N/A gaussian_filter img 3 init alpha 0.015 beta 10 w_line 0 w_edge 1 gamma 0.001 N/A refx N/A 299 298 298 298 298 297 297 296 296 295 N/A refy N/A 98 99 100 101 102 103 104 105 106 108 N/A N/A assert_equal N/A N/A np array N/A snake N/A N/A 10 N/A 0 dtype N/A np int32 refx N/A N/A assert_equal N/A N/A np array N/A snake N/A N/A 10 N/A 1 dtype N/A np int32 refy N/A N/A skipif N/A new_scipy test_fixed_reference N/A N/A N/A N/A N/A img N/A N/A data text N/A x N/A N/A np linspace 5 424 100 N/A y N/A N/A np linspace 136 50 100 N/A init N/A N/A N/A np array N/A x y T N/A snake N/A active_contour N/A gaussian_filter img 1 init bc fixed alpha 0.1 beta 1.0 w_line -5 w_edge 0 gamma 0.1 N/A refx N/A 5 9 13 17 21 25 30 34 38 42 N/A refy N/A 136 135 134 133 132 131 129 128 127 125 N/A N/A assert_equal N/A N/A np array N/A snake N/A N/A 10 N/A 0 dtype N/A np int32 refx N/A N/A assert_equal N/A N/A np array N/A snake N/A N/A 10 N/A 1 dtype N/A np int32 refy N/A N/A skipif N/A new_scipy test_free_reference N/A N/A N/A N/A N/A img N/A N/A data text N/A x N/A N/A np linspace 5 424 100 N/A y N/A N/A np linspace 70 40 100 N/A init N/A N/A N/A np array N/A x y T N/A snake N/A active_contour N/A gaussian_filter img 3 init bc free alpha 0.1 beta 1.0 w_line -5 w_edge 0 gamma 0.1 N/A refx N/A 10 13 16 19 23 26 29 32 36 39 N/A refy N/A 76 76 75 74 73 72 71 70 69 69 N/A N/A assert_equal N/A N/A np array N/A snake N/A N/A 10 N/A 0 dtype N/A np int32 refx N/A N/A assert_equal N/A N/A np array N/A snake N/A N/A 10 N/A 1 dtype N/A np int32 refy N/A N/A skipif N/A new_scipy test_RGB N/A N/A N/A N/A N/A img N/A gaussian_filter N/A N/A data text 1 N/A imgR N/A N/A np zeros N/A N/A N/A img shape N/A 0 N/A N/A img shape N/A 1 3 N/A imgG N/A N/A np zeros N/A N/A N/A img shape N/A 0 N/A N/A img shape N/A 1 3 N/A imgRGB N/A N/A np zeros N/A N/A N/A img shape N/A 0 N/A N/A img shape N/A 1 3 N/A N/A imgR N/A N/A N/A N/A 0 img N/A N/A imgG N/A N/A N/A N/A 1 img N/A N/A imgRGB N/A N/A N/A N/A N/A img N/A N/A N/A N/A None N/A x N/A N/A np linspace 5 424 100 N/A y N/A N/A np linspace 136 50 100 N/A init N/A N/A N/A np array N/A x y T N/A snake N/A active_contour imgR init bc fixed alpha 0.1 beta 1.0 w_line -5 w_edge 0 gamma 0.1 N/A refx N/A 5 9 13 17 21 25 30 34 38 42 N/A refy N/A 136 135 134 133 132 131 129 128 127 125 N/A N/A assert_equal N/A N/A np array N/A snake N/A N/A 10 N/A 0 dtype N/A np int32 refx N/A N/A assert_equal N/A N/A np array N/A snake N/A N/A 10 N/A 1 dtype N/A np int32 refy N/A snake N/A active_contour imgG init bc fixed alpha 0.1 beta 1.0 w_line -5 w_edge 0 gamma 0.1 N/A N/A assert_equal N/A N/A np array N/A snake N/A N/A 10 N/A 0 dtype N/A np int32 refx N/A N/A assert_equal N/A N/A np array N/A snake N/A N/A 10 N/A 1 dtype N/A np int32 refy N/A snake N/A active_contour imgRGB init bc fixed alpha 0.1 beta 1.0 w_line N/A -5 3.0 w_edge 0 gamma 0.1 N/A N/A assert_equal N/A N/A np array N/A snake N/A N/A 10 N/A 0 dtype N/A np int32 refx N/A N/A assert_equal N/A N/A np array N/A snake N/A N/A 10 N/A 1 dtype N/A np int32 refy N/A N/A skipif N/A new_scipy test_end_points N/A N/A N/A N/A N/A img N/A N/A data astronaut N/A img N/A rgb2gray img N/A s N/A N/A np linspace 0 N/A 2 N/A np pi 400 N/A x N/A 220 N/A 100 N/A N/A np cos s N/A y N/A 100 N/A 100 N/A N/A np sin s N/A init N/A N/A N/A np array N/A x y T N/A snake N/A active_contour N/A gaussian_filter img 3 init bc periodic alpha 0.015 beta 10 w_line 0 w_edge 1 gamma 0.001 max_iterations 100 N/A N/A N/A N/A np sum N/A N/A np abs N/A N/A snake N/A N/A 0 N/A N/A snake N/A N/A -1 N/A 2 N/A snake N/A active_contour N/A gaussian_filter img 3 init bc free alpha 0.015 beta 10 w_line 0 w_edge 1 gamma 0.001 max_iterations 100 N/A N/A N/A N/A np sum N/A N/A np abs N/A N/A snake N/A N/A 0 N/A N/A snake N/A N/A -1 N/A 2 N/A snake N/A active_contour N/A gaussian_filter img 3 init bc fixed alpha 0.015 beta 10 w_line 0 w_edge 1 gamma 0.001 max_iterations 100 N/A N/A assert_allclose N/A snake N/A N/A 0 N/A N/A N/A x N/A 0 N/A y N/A 0 atol 1e-05 N/A N/A skipif N/A new_scipy test_bad_input N/A N/A N/A N/A N/A img N/A N/A np zeros N/A 10 10 N/A x N/A N/A np linspace 5 424 100 N/A y N/A N/A np linspace 136 50 100 N/A init N/A N/A N/A np array N/A x y T N/A N/A assert_raises ValueError active_contour img init bc wrong N/A N/A assert_raises ValueError active_contour img init max_iterations -15 N/A N/A skipif N/A new_scipy N/A N/A __name__ __main__ N/A N/A N/A N/A N/A np testing run_module_suite