Module Expr Str Import alias identifier Import alias identifier ImportFrom alias ImportFrom alias Import alias identifier ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad SubscriptLoad NameLoad ExtSlice Slice Index Num attr Assign NameStore BinOpAdd Call AttributeLoad BinOpSub Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad ExtSlice Slice Index Num attr Call AttributeLoad NameLoad attr NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad SubscriptLoad NameLoad ExtSlice Slice Index Num attr Assign NameStore BinOpAdd Call AttributeLoad BinOpSub Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad ExtSlice Slice Index Num attr Call AttributeLoad NameLoad attr NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad SubscriptLoad NameLoad ExtSlice Slice Index Num attr Assign NameStore BinOpAdd Call AttributeLoad BinOpSub Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad ExtSlice Slice Index Num attr Call AttributeLoad NameLoad attr NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr NameLoad AugAssignSub NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad NameLoad keyword AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore BinOpSub SubscriptLoad NameLoad Index SubscriptLoad AttributeLoad NameLoad attr ExtSlice Slice Index Num SubscriptLoad NameLoad Index SubscriptLoad AttributeLoad NameLoad attr ExtSlice Slice Index Num Assign NameStore BinOpSub SubscriptLoad NameLoad Index SubscriptLoad AttributeLoad NameLoad attr ExtSlice Slice Index Num SubscriptLoad NameLoad Index SubscriptLoad AttributeLoad NameLoad attr ExtSlice Slice Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore BinOpPow Call AttributeLoad NameLoad attr BinOpPow NameLoad Num keyword Num BinOpDiv Num Num Assign NameStore BinOpMult NameLoad AttributeLoad Call AttributeLoad NameLoad attr BinOpDiv Num NameLoad TupleLoad Num Num attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num Assign NameStore SubscriptLoad NameLoad Index SubscriptLoad AttributeLoad NameLoad attr ExtSlice Slice Index Num Assign NameStore Call AttributeLoad NameLoad attr BinOpMult BinOpSub Call AttributeLoad NameLoad attr NameLoad TupleLoad Call NameLoad NameLoad Num NameLoad NameLoad keyword Num Assign NameStore CompareLt NameLoad Num Assign SubscriptStore NameLoad Index NameLoad UnaryOpUSub SubscriptLoad NameLoad Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpMult NameLoad NameLoad keyword Num For NameStore Call NameLoad Call NameLoad NameLoad body Assign NameStore BinOpMult SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num NameLoad Assign NameStore BinOpMult SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num NameLoad Assign NameStore BinOpMult SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num NameLoad Assign NameStore BinOpAdd BinOpAdd NameLoad NameLoad NameLoad AugAssignAdd SubscriptStore NameLoad Index CompareGtE BinOpSub NameLoad SubscriptLoad NameLoad Index NameLoad BinOpSub Num NameLoad Num Assign SubscriptStore NameLoad Index CompareLt NameLoad Call NameLoad NameLoad Num Assign SubscriptStore NameLoad Index CompareEq NameLoad Call NameLoad NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Assign SubscriptStore NameLoad ExtSlice Slice SubscriptLoad NameLoad Index Num BinOpAdd SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Slice SubscriptLoad NameLoad Index Num BinOpAdd SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Slice SubscriptLoad NameLoad Index Num BinOpAdd SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpMult NameLoad SubscriptLoad AttributeLoad NameLoad attr ExtSlice Slice SubscriptLoad NameLoad Index Num BinOpAdd SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Slice SubscriptLoad NameLoad Index Num BinOpAdd SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Slice SubscriptLoad NameLoad Index Num BinOpAdd SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpSub NameLoad NameLoad Delete NameDel Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad Num body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad Call NameLoad NameLoad Num For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad TryExcept body If CompareGt Call NameLoad NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index NameLoad BinOpMult Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign ListStore NameStore NameStore NameStore NameStore NameStore NameStore ListLoad Num Num Num Num Num Num For NameStore NameLoad body If CompareLt Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Index Num NameLoad body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Index Num If CompareGt Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Index Num NameLoad body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Index Num If CompareLt Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Index Num NameLoad body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Index Num If CompareGt Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Index Num NameLoad body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Index Num If CompareLt Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Index Num NameLoad body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Index Num If CompareGt Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Index Num NameLoad body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Index Num Return ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad For NameStore Call NameLoad Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index NameLoad attr Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign ListStore NameStore NameStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad For NameStore Call NameLoad Call NameLoad NameLoad body AugAssignSub SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad BinOpSub NameLoad NameLoad BinOpSub NameLoad NameLoad BinOpSub NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr BinOpAdd Str Call NameLoad Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad NameLoad attr BinOpDiv SubscriptLoad NameLoad Index Num NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad NameLoad attr BinOpDiv SubscriptLoad NameLoad Index Num NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad NameLoad attr BinOpDiv SubscriptLoad NameLoad Index Num NameLoad Num TryExcept body Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword ListLoad NameLoad NameLoad NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad NameLoad keyword NameLoad Assign NameStore NameStore NameStore Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Num If CompareGt NameLoad NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr BinOpDiv NameLoad NameLoad attr NameLoad orelse Assign NameStore Num If CompareGt NameLoad NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr BinOpDiv NameLoad NameLoad attr NameLoad orelse Assign NameStore Num If CompareGt NameLoad NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr BinOpDiv NameLoad NameLoad attr NameLoad orelse Assign NameStore Num Assign NameStore Call NameLoad NameLoad BinOpDiv NameLoad Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr BinOpDiv NameLoad NameLoad Num attr NameLoad For TupleStore NameStore NameStore NameStore NameLoad body TryExcept body Assign SubscriptStore SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad Index NameLoad Num handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr BinOpAdd Str Str Assign NameStore Call AttributeLoad NameLoad attr BinOpMult BinOpMult NameLoad NameLoad NameLoad Assign NameStore Num For NameStore Call NameLoad NameLoad body For NameStore Call NameLoad NameLoad body For NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str Call NameLoad NameLoad Assign NameStore BinOpMult NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpAdd BinOpMult BinOpAdd NameLoad Num NameLoad BinOpMult Num NameLoad Assign NameStore BinOpMult NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpAdd BinOpMult BinOpAdd NameLoad Num NameLoad BinOpMult Num NameLoad Assign NameStore BinOpMult NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpAdd BinOpMult BinOpAdd NameLoad Num NameLoad BinOpMult Num NameLoad If CompareGt NameLoad NameLoad body Assign NameStore NameLoad If CompareGt NameLoad NameLoad body Assign NameStore NameLoad If CompareGt NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice NameLoad NameLoad Slice NameLoad NameLoad Slice NameLoad NameLoad Assign SubscriptStore SubscriptLoad NameLoad ExtSlice Slice NameLoad NameLoad Slice NameLoad NameLoad Slice NameLoad NameLoad Index CompareLtE NameLoad NameLoad Num Assign SubscriptStore SubscriptLoad NameLoad ExtSlice Slice NameLoad NameLoad Slice NameLoad NameLoad Slice NameLoad NameLoad Index CompareGt NameLoad NameLoad Num Delete NameDel AugAssignAdd NameStore Num Delete NameDel Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad ExtSlice Slice Index Num Assign NameStore SubscriptLoad NameLoad ExtSlice Slice Index Num Assign NameStore SubscriptLoad NameLoad ExtSlice Slice Index Num If BoolOpAnd CompareLt Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad CompareLt Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad body Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad attr orelse If BoolOpAnd CompareLt Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad CompareLt Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad body Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad attr orelse Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad attr Assign NameStore Call NameLoad NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Num For NameStore Call NameLoad Call NameLoad NameLoad body Assign NameStore BinOpSub SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index BinOpSub NameLoad Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpDiv NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad Num Num Num For NameStore Call AttributeLoad NameLoad attr Num Num NameLoad body Assign NameStore BinOpAdd SubscriptLoad NameLoad Index BinOpSub NameLoad Num BinOpMult NameLoad NameLoad If CompareNotEq Call AttributeLoad NameLoad attr BinOpSub NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str kwarg body Expr Str Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore BinOpMult BinOpDiv AttributeLoad NameLoad attr Num BinOpPow NameLoad Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str kwarg body Expr Str Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore BinOpPow NameLoad Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Num TryExcept body Assign NameStore Call NameLoad NameLoad keyword Str handlers ExceptHandler type AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Expr Call AttributeLoad NameLoad attr BinOpAdd Str Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad SubscriptLoad NameLoad ExtSlice Slice Index Num attr Call AttributeLoad SubscriptLoad NameLoad ExtSlice Slice Index Num attr Call AttributeLoad SubscriptLoad NameLoad ExtSlice Slice Index Num attr Assign NameStore Num Assign NameStore ListLoad For TupleStore NameStore NameStore NameStore AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index ListLoad NameLoad NameLoad NameLoad ExtSlice Slice Index Num Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index ListLoad NameLoad NameLoad NameLoad ExtSlice Slice Index Num Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index ListLoad NameLoad NameLoad NameLoad ExtSlice Slice Index Num Assign NameStore ListLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore BinOpSub NameLoad NameLoad Assign NameStore BinOpSub SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Assign NameStore BinOpSub SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Assign NameStore BinOpSub SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad TryExcept body Assign NameStore BinOpDiv NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str Call NameLoad NameLoad Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore BinOpMult Num BinOpAdd BinOpAdd NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpMult BinOpMult BinOpMult NameLoad BinOpSub NameLoad NameLoad BinOpSub NameLoad NameLoad BinOpSub NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpDiv BinOpMult Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Num AugAssignAdd NameStore NameLoad Assign NameStore BinOpSub SubscriptLoad NameLoad Index NameLoad NameLoad Assign NameStore BinOpSub SubscriptLoad NameLoad Index NameLoad NameLoad Assign NameStore BinOpSub SubscriptLoad NameLoad Index NameLoad NameLoad Assign NameStore BinOpMult BinOpDiv BinOpAdd BinOpAdd NameLoad NameLoad NameLoad Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Num If CompareGt NameLoad Num body Assign NameStore BinOpAdd NameLoad BinOpDiv Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword Num NameLoad orelse Assign NameStore NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad Num For NameStore Call NameLoad NameLoad body Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad SubscriptLoad NameLoad Index NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Index Str If CompareGt Call NameLoad NameLoad Num body For NameStore NameLoad body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index NameLoad If CompareIsNot NameLoad NameLoad body For NameStore Call NameLoad Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareGt Call NameLoad NameLoad Num body Assign TupleStore SubscriptStore NameLoad Index NameLoad SubscriptStore NameLoad Index NameLoad Call NameLoad NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad Num orelse If BoolOpAnd CompareEq Call NameLoad NameLoad Num CompareIn Str Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index NameLoad Assign SubscriptStore NameLoad Index NameLoad Num Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr UnaryOpInvert Call AttributeLoad NameLoad attr keyword Num Index Num If CompareGt Call NameLoad NameLoad Num body For NameStore NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index NameLoad keyword Num Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore BinOpPow NameLoad Num TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr BinOpDiv BinOpSub NameLoad BinOpDiv NameLoad Num NameLoad Num attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore BinOpMult Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd Str Call NameLoad BinOpAdd NameLoad Num Str Call NameLoad Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListComp NameLoad comprehension NameStore Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Num AugAssignDiv NameStore NameLoad Assign TupleStore SubscriptStore NameLoad Index NameLoad SubscriptStore NameLoad Index NameLoad Call NameLoad NameLoad NameLoad NameLoad Assign NameStore BinOpMult NameLoad NameLoad Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index NameLoad Return SubscriptLoad NameLoad Index NameLoad decorator_list
N/A N/A 
===============================================================================
pore_volume --
===============================================================================

 N/A scipy _sp N/A numpy np scipy.spatial Delaunay scipy.spatial ConvexHull N/A OpenPNM.Utilities.misc misc scipy ndimage OpenPNM.Base logging N/A logger N/A N/A logging getLogger __name__ inhull N/A N/A geometry xyz pore tol N/A 1e-07 N/A N/A 
    Tests whether points lie within a convex hull or not.
    Computes a tesselation of the hull works out the normals of the facets.
    Then tests whether dot(x.normals) < dot(a.normals) where a is the the
    first vertex of the facets
     N/A xyz N/A N/A np around xyz 10 N/A xmin N/A N/A N/A xyz N/A N/A N/A 0 min N/A xr N/A N/A N/A N/A N/A N/A np ceil N/A N/A N/A xyz N/A N/A N/A 0 max N/A N/A np floor xmin astype int 1 N/A ymin N/A N/A N/A xyz N/A N/A N/A 1 min N/A yr N/A N/A N/A N/A N/A N/A np ceil N/A N/A N/A xyz N/A N/A N/A 1 max N/A N/A np floor ymin astype int 1 N/A zmin N/A N/A N/A xyz N/A N/A N/A 2 min N/A zr N/A N/A N/A N/A N/A N/A np ceil N/A N/A N/A xyz N/A N/A N/A 2 max N/A N/A np floor zmin astype int 1 N/A origin N/A N/A np array N/A xmin ymin zmin N/A si N/A N/A N/A N/A np floor origin astype int N/A xyz origin N/A dom N/A N/A np zeros N/A xr yr zr dtype N/A np uint8 N/A N/A indx indy indz N/A N/A np indices N/A xr yr zr N/A hull N/A ConvexHull xyz N/A vab N/A N/A xyz N/A N/A N/A hull simplices N/A N/A N/A 0 N/A xyz N/A N/A N/A hull simplices N/A N/A N/A 1 N/A vac N/A N/A xyz N/A N/A N/A hull simplices N/A N/A N/A 0 N/A xyz N/A N/A N/A hull simplices N/A N/A N/A 2 N/A nrmls N/A N/A np cross vab vac N/A nrmlen N/A N/A N/A np sum N/A nrmls 2 axis -1 N/A 1.0 2 N/A nrmls N/A nrmls N/A N/A N/A np tile N/A 1 nrmlen N/A 3 1 T N/A center N/A N/A np mean xyz axis 0 N/A a N/A xyz N/A N/A N/A hull simplices N/A N/A N/A 0 N/A dp N/A N/A np sum N/A N/A N/A N/A np tile center N/A N/A len a 1 a nrmls axis -1 N/A k N/A dp 0 N/A N/A nrmls N/A k N/A N/A nrmls N/A k N/A aN N/A N/A np sum N/A nrmls a axis -1 N/A plane_index N/A range N/A len a N/A N/A eqx N/A N/A N/A nrmls N/A plane_index N/A 0 indx N/A eqy N/A N/A N/A nrmls N/A plane_index N/A 1 indy N/A eqz N/A N/A N/A nrmls N/A plane_index N/A 2 indz N/A xN N/A N/A eqx eqy eqz N/A N/A dom N/A N/A N/A xN N/A aN N/A plane_index N/A 0 tol 1 N/A N/A dom N/A N/A dom N/A len a 0 N/A N/A dom N/A N/A dom N/A len a 1 N/A ds N/A N/A np shape dom N/A temp_arr N/A N/A np zeros_like N/A geometry _hull_image dtype bool N/A N/A temp_arr N/A N/A N/A si N/A 0 N/A N/A si N/A 0 N/A ds N/A 0 N/A N/A si N/A 1 N/A N/A si N/A 1 N/A ds N/A 1 N/A N/A si N/A 2 N/A N/A si N/A 2 N/A ds N/A 2 dom N/A N/A N/A geometry _hull_image N/A temp_arr pore N/A hull_num N/A N/A np sum dom N/A dom N/A dom N/A N/A geometry _fibre_image N/A N/A N/A si N/A 0 N/A N/A si N/A 0 N/A ds N/A 0 N/A N/A si N/A 1 N/A N/A si N/A 1 N/A ds N/A 1 N/A N/A si N/A 2 N/A N/A si N/A 2 N/A ds N/A 2 N/A pore_num N/A N/A np sum dom N/A fibre_num N/A hull_num pore_num N/A temp_arr N/A N/A pore_num fibre_num N/A _voxel_centroid N/A N/A image pores vox_len N/A None 1e-06 N/A N/A 
    Calculate Pore Centroid from indices of the voronoi voxel image generated
    in _get_voxel_volume
     N/A N/A pores None N/A N/A pores N/A N/A np unique image N/A centroids N/A N/A np zeros N/A N/A len pores 3 N/A N/A i pore N/A enumerate pores N/A N/A N/A px py pz N/A N/A np where N/A image pore N/A N/A N/A N/A N/A len px 0 N/A N/A cx N/A N/A np mean px N/A cy N/A N/A np mean py N/A cz N/A N/A np mean pz N/A N/A centroids N/A i N/A N/A N/A np array N/A cx cy cz vox_len N/A N/A N/A N/A N/A N/A logger warn Some centroid data may be invalid, look for zeros N/A centroids N/A _get_vertex_range N/A N/A verts N/A N/A N/A N/A vxmin vxmax vymin vymax vzmin vzmax N/A 1e+20 0 1e+20 0 1e+20 0 N/A vert verts N/A N/A N/A N/A N/A np min N/A vert N/A N/A N/A 0 vxmin N/A N/A vxmin N/A N/A np min N/A vert N/A N/A N/A 0 N/A N/A N/A N/A np max N/A vert N/A N/A N/A 0 vxmax N/A N/A vxmax N/A N/A np max N/A vert N/A N/A N/A 0 N/A N/A N/A N/A np min N/A vert N/A N/A N/A 1 vymin N/A N/A vymin N/A N/A np min N/A vert N/A N/A N/A 1 N/A N/A N/A N/A np max N/A vert N/A N/A N/A 1 vymax N/A N/A vymax N/A N/A np max N/A vert N/A N/A N/A 1 N/A N/A N/A N/A np min N/A vert N/A N/A N/A 2 vzmin N/A N/A vzmin N/A N/A np min N/A vert N/A N/A N/A 2 N/A N/A N/A N/A np max N/A vert N/A N/A N/A 2 vzmax N/A N/A vzmax N/A N/A np max N/A vert N/A N/A N/A 2 N/A N/A vxmin vxmax vymin vymax vzmin vzmax N/A _get_fibre_image N/A N/A network cpores vox_len fibre_rad N/A N/A N/A 
    Produce image by filling in voxels along throat edges using Bresenham line
    Then performing distance transform on fibre voxels to erode the pore space
     N/A cthroats N/A N/A network find_neighbor_throats pores cpores N/A verts N/A N/A _sp ndarray N/A N/A network num_throats dtype object N/A i N/A range N/A len verts N/A N/A N/A verts N/A i N/A N/A _sp asarray N/A list N/A N/A N/A N/A network N/A throat.vert_index N/A i values N/A cverts N/A verts N/A cthroats N/A N/A vxmin vxmax vymin vymax vzmin vzmax N/A _get_vertex_range cverts N/A index N/A range N/A len cverts N/A N/A N/A cverts N/A index N/A N/A np array N/A vxmin vymin vzmin N/A cdomain N/A N/A np around N/A N/A np array N/A N/A vxmax vxmin N/A vymax vymin N/A vzmax vzmin 6 N/A N/A N/A logger info N/A Creating fibre domain range:  N/A str N/A N/A np around cdomain 5 N/A lx N/A N/A np int N/A N/A N/A np around N/A N/A cdomain N/A 0 vox_len 1 N/A ly N/A N/A np int N/A N/A N/A np around N/A N/A cdomain N/A 1 vox_len 1 N/A lz N/A N/A np int N/A N/A N/A np around N/A N/A cdomain N/A 2 vox_len 1 N/A N/A N/A pore_space N/A N/A np ones N/A lx ly lz dtype N/A np uint8 N/A fibre_space N/A N/A np zeros shape N/A lx ly lz dtype N/A np uint8 N/A dt N/A N/A np zeros N/A lx ly lz dtype float N/A cx cy cz 1 N/A chunk_len N/A N/A np max N/A N/A np shape pore_space N/A N/A N/A N/A N/A N/A logger info Domain too large to fit into memory so chunking domainto process image, this may take some time N/A chunk_len 100 N/A N/A lx chunk_len N/A N/A cx N/A N/A N/A N/A np ceil N/A lx chunk_len astype int N/A N/A cx 1 N/A N/A ly chunk_len N/A N/A cy N/A N/A N/A N/A np ceil N/A ly chunk_len astype int N/A N/A cy 1 N/A N/A lz chunk_len N/A N/A cz N/A N/A N/A N/A np ceil N/A lz chunk_len astype int N/A N/A cz 1 N/A line_points N/A bresenham cverts N/A vox_len 2 N/A line_ints N/A N/A N/A N/A np around N/A line_points vox_len 0 astype int N/A N/A x y z line_ints N/A N/A N/A N/A N/A N/A N/A pore_space N/A x N/A y N/A z 0 N/A N/A N/A IndexError N/A N/A N/A N/A logger warning N/A Some elements in image processing are out of bounds N/A num_chunks N/A N/A np int N/A N/A cx cy cz N/A cnum 1 N/A ci N/A range cx N/A N/A cj N/A range cy N/A N/A ck N/A range cz N/A N/A N/A N/A logger info N/A N/A N/A Processing Fibre Chunk:  N/A str cnum  of  N/A str num_chunks N/A cxmin N/A ci chunk_len N/A cxmax N/A N/A np int N/A N/A np ceil N/A N/A N/A ci 1 chunk_len N/A 5 fibre_rad N/A cymin N/A cj chunk_len N/A cymax N/A N/A np int N/A N/A np ceil N/A N/A N/A cj 1 chunk_len N/A 5 fibre_rad N/A czmin N/A ck chunk_len N/A czmax N/A N/A np int N/A N/A np ceil N/A N/A N/A ck 1 chunk_len N/A 5 fibre_rad N/A N/A cxmax lx N/A N/A cxmax lx N/A N/A cymax ly N/A N/A cymax ly N/A N/A czmax lz N/A N/A czmax lz N/A dt N/A N/A ndimage distance_transform_edt N/A pore_space N/A N/A cxmin cxmax N/A cymin cymax N/A czmin czmax N/A N/A N/A fibre_space N/A N/A cxmin cxmax N/A cymin cymax N/A czmin czmax N/A N/A dt fibre_rad 0 N/A N/A N/A fibre_space N/A N/A cxmin cxmax N/A cymin cymax N/A czmin czmax N/A N/A dt fibre_rad 1 N/A dt N/A cnum 1 N/A pore_space N/A fibre_space N/A bresenham N/A N/A faces dx N/A N/A N/A line_points N/A N/A face faces N/A N/A fx N/A face N/A N/A N/A 0 N/A fy N/A face N/A N/A N/A 1 N/A fz N/A face N/A N/A N/A 2 N/A N/A N/A N/A N/A np std fx N/A N/A np std fy N/A N/A N/A np std fx N/A N/A np std fz N/A N/A f2d N/A N/A N/A np vstack N/A fy fz T N/A N/A N/A N/A N/A N/A np std fy N/A N/A np std fx N/A N/A N/A np std fy N/A N/A np std fz N/A N/A f2d N/A N/A N/A np vstack N/A fx fz T N/A N/A f2d N/A N/A N/A np vstack N/A fx fy T N/A hull N/A ConvexHull f2d qhull_options QJ Pp N/A face N/A N/A np around N/A face N/A N/A hull vertices 6 N/A i N/A range N/A len face N/A N/A vec N/A N/A face N/A i N/A face N/A N/A i 1 N/A vec_length N/A N/A N/A np linalg norm vec N/A increments N/A N/A np ceil N/A vec_length dx N/A check_p_old N/A N/A np array N/A -1 -1 -1 N/A x N/A N/A np linspace 0 1 increments N/A N/A check_p_new N/A N/A face N/A N/A i 1 N/A vec x N/A N/A N/A N/A np sum N/A check_p_new check_p_old 0 N/A N/A N/A N/A line_points append check_p_new N/A check_p_old check_p_new N/A N/A N/A np asarray line_points N/A sphere N/A N/A geometry pore_diameter N/A pore.diameter kwargs N/A N/A 
    Calculate pore volume from diameter assuming a spherical pore body

    Parameters
    ----------
    geometry : OpenPNM Geometry Object
        The Geometry object which this model is associated with. This controls
        the length of the calculated array, and also provides access to other
        necessary geometric properties.

    pore_diameter : string
        The dictionary key to the pore diameter values

     N/A diams N/A geometry N/A pore_diameter N/A value N/A N/A N/A _sp pi 6 N/A diams 3 N/A value N/A cube N/A N/A geometry pore_diameter N/A pore.diameter kwargs N/A N/A 
    Calculate pore volume from diameter assuming a cubic pore body

    Parameters
    ----------
    geometry : OpenPNM Geometry Object
        The Geometry object which this model is associated with. This controls
        the length of the calculated array, and also provides access to other
        necessary geometric properties.

    pore_diameter : string
        The dictionary key to the pore diameter values

     N/A diams N/A geometry N/A pore_diameter N/A value N/A diams 3 N/A value N/A _get_hull_volume N/A N/A points N/A N/A N/A 
    Calculate the volume of a set of points by dividing the bounding surface
    into triangles and working out the volume of all the pyramid elements
    connected to the volume centroid
     N/A points N/A N/A _sp asarray N/A N/A misc unique_list N/A N/A np around points 10 N/A N/A N/A tri N/A Delaunay points qhull_options QJ Pp N/A N/A N/A N/A N/A N/A _sp spatial qhull QhullError N/A N/A N/A N/A logger error N/A Volume suspect for points:  N/A str points N/A hull_centroid N/A N/A _sp array N/A N/A N/A N/A points N/A N/A N/A 0 mean N/A N/A N/A points N/A N/A N/A 1 mean N/A N/A N/A points N/A N/A N/A 2 mean N/A hull_volume 0.0 N/A pyramid_COMs N/A N/A N/A ia ib ic N/A tri convex_hull N/A N/A face_x N/A N/A points N/A N/A ia ib ic N/A N/A N/A 0 N/A face_y N/A N/A points N/A N/A ia ib ic N/A N/A N/A 1 N/A face_z N/A N/A points N/A N/A ia ib ic N/A N/A N/A 2 N/A face_centroid N/A N/A N/A face_x mean N/A N/A face_y mean N/A N/A face_z mean N/A face_centroid_vector N/A face_centroid hull_centroid N/A vab N/A N/A points N/A ib N/A points N/A ia N/A vac N/A N/A points N/A ic N/A points N/A ia N/A vbc N/A N/A points N/A ic N/A points N/A ib N/A face_normal N/A N/A _sp cross vab vac N/A N/A N/A face_unit_normal N/A face_normal N/A N/A N/A _sp linalg norm face_normal N/A N/A N/A RuntimeWarning N/A N/A N/A N/A logger error N/A N/A N/A Pore Volume Error: N/A str vab N/A str vac N/A 
        As triangles are orientated randomly in 3D we could either transform
        co-ordinates to align with a plane and perform 2D operations to work
        out the area or we could work out the lengths of each side and use
        Heron's formula which is easier. Using Delaunay traingulation will
        always produce triangular faces but if dealing with other polygons
        co-ordinate transfer may be necessary
         N/A a N/A N/A N/A _sp linalg norm vab N/A b N/A N/A N/A _sp linalg norm vbc N/A c N/A N/A N/A _sp linalg norm vac N/A s N/A 0.5 N/A N/A a b c N/A face_area N/A N/A _sp sqrt N/A N/A N/A s N/A s a N/A s b N/A s c N/A pyramid_volume N/A N/A _sp absolute N/A N/A N/A N/A _sp dot face_centroid_vector face_unit_normal face_area 3 N/A hull_volume pyramid_volume N/A vha N/A N/A points N/A ia hull_centroid N/A vhb N/A N/A points N/A ib hull_centroid N/A vhc N/A N/A points N/A ic hull_centroid N/A pCOM N/A N/A N/A N/A vha vhb vhc 4 pyramid_volume N/A N/A N/A pyramid_COMs append pCOM N/A N/A N/A _sp isnan hull_volume N/A N/A hull_volume 0.0 N/A N/A hull_volume 0 N/A N/A hull_COM N/A hull_centroid N/A N/A N/A _sp mean N/A N/A _sp asarray pyramid_COMs axis 0 hull_volume N/A N/A hull_COM hull_centroid N/A N/A hull_volume hull_COM N/A voronoi N/A N/A network geometry N/A kwargs N/A N/A 
    Calculate volume from the convex hull of the offset vertices making the
    throats surrounding the pore. Also calculate the centre of mass for the
    volume.
     N/A pores N/A N/A geometry map_pores network N/A N/A geometry pores N/A Np N/A len pores N/A volume N/A N/A _sp zeros Np N/A com N/A N/A _sp zeros N/A Np 3 N/A i N/A range Np N/A N/A throat_vert_list N/A N/A net_throats N/A N/A network find_neighbor_throats N/A N/A pores N/A i N/A geom_throats N/A N/A N/A network map_throats target geometry throats net_throats return_mapping True N/A target N/A N/A N/A len geom_throats 1 N/A N/A throat geom_throats N/A N/A geom_throat_verts N/A N/A geometry N/A throat.offset_vertices N/A throat N/A N/A geom_throat_verts None N/A N/A j N/A range N/A len geom_throat_verts N/A N/A N/A N/A throat_vert_list append N/A geom_throat_verts N/A j N/A throat_array N/A N/A _sp asarray throat_vert_list N/A N/A N/A len throat_array 4 N/A N/A N/A N/A volume N/A i N/A com N/A i N/A _get_hull_volume throat_array N/A N/A N/A volume N/A i 0 N/A N/A N/A N/A N/A len geom_throats 1 N/A throat.centroid N/A N/A geometry props N/A N/A N/A com N/A i N/A N/A geometry N/A throat.centroid N/A geom_throats N/A N/A volume N/A i 0 N/A ps N/A N/A N/A np where N/A N/A N/A com any axis 1 N/A 0 N/A N/A N/A len ps 0 N/A N/A pore ps N/A N/A N/A com N/A pore N/A N/A np mean N/A N/A geometry N/A pore.vertices N/A pore axis 0 N/A N/A geometry N/A pore.centroid com N/A volume N/A in_hull_volume N/A N/A network geometry fibre_rad vox_len N/A 1e-06 kwargs N/A N/A 
    Work out the voxels inside the convex hull of the voronoi vertices of each
    pore
     N/A Np N/A N/A network num_pores N/A geom_pores N/A N/A geometry map_pores network N/A N/A geometry pores N/A volume N/A N/A _sp zeros Np N/A pore_vox N/A N/A _sp zeros Np dtype int N/A fibre_vox N/A N/A _sp zeros Np dtype int N/A voxel N/A vox_len 3 N/A N/A N/A nbps N/A N/A network pores boundary mode not N/A N/A N/A KeyError N/A N/A nbps N/A N/A network pores N/A fibre_rad N/A N/A N/A N/A np around N/A N/A fibre_rad N/A vox_len 2 vox_len 0 astype int N/A fibre_image N/A _get_fibre_image network geom_pores vox_len fibre_rad N/A N/A geometry _fibre_image fibre_image N/A hull_image N/A N/A N/A np ones_like fibre_image dtype N/A np uint16 -1 N/A N/A geometry _hull_image hull_image N/A pore nbps N/A N/A N/A N/A logger info N/A N/A N/A Processing Pore:  N/A str N/A pore 1  of  N/A str N/A len nbps N/A verts N/A N/A np asarray N/A i N/A i N/A N/A N/A N/A network N/A pore.vert_index N/A pore values N/A verts N/A N/A np asarray N/A N/A misc unique_list N/A N/A np around verts 6 N/A verts vox_len N/A N/A N/A pore_vox N/A pore N/A fibre_vox N/A pore N/A inhull geometry verts pore N/A volume N/A pore_vox voxel N/A N/A geometry N/A pore.fibre_voxels N/A fibre_vox N/A geom_pores N/A N/A geometry N/A pore.pore_voxels N/A pore_vox N/A geom_pores N/A N/A volume N/A geom_pores N/A