Module ImportFrom alias Import alias Import alias identifier ImportFrom alias ImportFrom alias alias alias alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad Call NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad Call NameLoad Num Num Num attr attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad Call NameLoad Num Num Num attr attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad Call NameLoad Num Num Num attr attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad Call NameLoad Num Num Num attr attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Num Num Num attr Call NameLoad Num Num Num BinOpMult Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Num Num Num attr Call NameLoad Num Num Num BinOpMult Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Num Num Num attr Call NameLoad Num Num Num BinOpMult Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Num Num Num attr Call NameLoad Num Num Num BinOpMult Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Num Num Num attr Call NameLoad Num Num Num BinOpMult Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Num Num Num attr Call NameLoad Num Num Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad Call AttributeLoad Call NameLoad Call NameLoad Num Num Num Call NameLoad Num Num Num attr Num attr attr Call NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad Call AttributeLoad Call NameLoad Call NameLoad Num Num Num Call NameLoad Num Num Num attr Num attr attr Call NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad Call AttributeLoad Call NameLoad Call NameLoad Num Num Num Call NameLoad Num Num Num attr Num attr attr Call NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad Call AttributeLoad Call NameLoad Call NameLoad Num Num Num Call NameLoad Num Num Num attr Num attr attr Call NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad Call AttributeLoad Call NameLoad Call NameLoad Num Num Num Call NameLoad Num Num Num attr Num attr attr Call NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Call NameLoad Num Num Num Call NameLoad Num Num Num attr Call NameLoad Num Num Num BinOpMult Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Call NameLoad Num Num Num Call NameLoad Num Num Num attr BinOpMult Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Call NameLoad Num Num Num Call NameLoad Num Num Num Call NameLoad Num Num Num attr BinOpMult Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Call NameLoad Num Num Num Call NameLoad Num Num Num attr Call NameLoad Num Num Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Call NameLoad Num Num Num Call NameLoad Num Num Num attr Call NameLoad Num Num Num BinOpMult Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Call NameLoad Num Num Num Call NameLoad Num Num Num attr Call NameLoad Num Num Num BinOpMult Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Call NameLoad Num Num Num Call NameLoad Num Num Num attr Call NameLoad Num Num Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Call NameLoad Num Num Num Call NameLoad Num Num Num attr Call NameLoad Num Num Num BinOpMult Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Call NameLoad Num Num Num Call NameLoad Num Num Num attr Call NameLoad Num Num Num BinOpMult Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr Call NameLoad Num Num Num Call NameLoad Num Num Num attr attr Call NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr Call NameLoad Num Num Num Call NameLoad Num Num Num attr attr AttributeLoad Call NameLoad Num Num Num attr Assign NameStore Call NameLoad Call NameLoad Num Num Num Call NameLoad Num Num Num Assign NameStore Call NameLoad Call NameLoad Num Num Num Call NameLoad Num Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr Call NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr Call NameLoad Num Num Num Assign NameStore Call NameLoad Call NameLoad Num Num Num Call NameLoad Num Num Num Assign NameStore Call NameLoad Call NameLoad Num Num Num Call NameLoad Num Num Num Assign NameStore Call NameLoad Call NameLoad Num Num Num Call NameLoad Num Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr Call NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr Call NameLoad Num Num Num Assign NameStore Call NameLoad Call NameLoad Num Num Num Call NameLoad Num Num Num Assign NameStore Call NameLoad Call NameLoad Num Num Num Call NameLoad Num Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr Call NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr Call NameLoad Num Num Num Assign NameStore Call NameLoad Call NameLoad Num Num Num Call NameLoad Num Num Num Assign NameStore Call NameLoad Call NameLoad Num Num Num Call NameLoad Num Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr AttributeLoad Call NameLoad Num Num Num attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr AttributeLoad Call NameLoad Num Num Num attr decorator_list decorator_list
N/A __future__ division N/A unittest N/A numpy np scot.eegtopo.geo_euclidean Vector scot.eegtopo.geo_spherical Point Line Circle Construct TestClasses N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A tearDown N/A N/A self N/A N/A N/A N/A testPoint N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A N/A N/A Point vector norm2 1 N/A N/A N/A self assertEqual N/A N/A N/A N/A Point 1 2 3 vector norm2 1 N/A N/A N/A self assertTrue N/A N/A np allclose N/A N/A N/A N/A Point 10 -20 30 vector norm2 1 N/A N/A N/A self assertTrue N/A N/A np allclose N/A N/A N/A N/A Point 100 200 -300 vector norm2 1 N/A N/A N/A self assertTrue N/A N/A np allclose N/A N/A N/A N/A Point -100000.0 2 300 vector norm2 1 N/A N/A N/A self assertEqual N/A N/A N/A Point 1 0 0 distance N/A Point 0 1 0 N/A 0.5 N/A np pi N/A N/A N/A self assertEqual N/A N/A N/A Point 1 0 0 distance N/A Point 0 0 1 N/A 0.5 N/A np pi N/A N/A N/A self assertEqual N/A N/A N/A Point 0 1 0 distance N/A Point 0 0 1 N/A 0.5 N/A np pi N/A N/A N/A self assertEqual N/A N/A N/A Point 0 1 0 distance N/A Point 1 0 0 N/A 0.5 N/A np pi N/A N/A N/A self assertEqual N/A N/A N/A Point 0 0 1 distance N/A Point 1 0 0 N/A 0.5 N/A np pi N/A N/A N/A self assertEqual N/A N/A N/A Point 1 0 0 distance N/A Point -1 0 0 N/A np pi N/A testLine N/A N/A self N/A N/A N/A N/A N/A self assertTrue N/A N/A N/A N/A N/A N/A Line N/A Point 1 0 0 N/A Point 0 1 0 get_point 0 vector close N/A Vector 1 0 0 N/A N/A N/A self assertTrue N/A N/A N/A N/A N/A N/A Line N/A Point 1 0 0 N/A Point 0 1 0 get_point 1 vector close N/A Vector 0 1 0 N/A N/A N/A self assertTrue N/A N/A N/A N/A N/A N/A Line N/A Point 1 0 0 N/A Point 0 1 0 get_point 2 vector close N/A Vector -1 0 0 N/A N/A N/A self assertTrue N/A N/A N/A N/A N/A N/A Line N/A Point 1 0 0 N/A Point 0 1 0 get_point 3 vector close N/A Vector 0 -1 0 N/A N/A N/A self assertTrue N/A N/A N/A N/A N/A N/A Line N/A Point 1 0 0 N/A Point 0 1 0 get_point 4 vector close N/A Vector 1 0 0 N/A N/A N/A self assertEqual N/A N/A N/A Line N/A Point 1 0 0 N/A Point 0 1 0 distance N/A Point 0 0 1 N/A 0.5 N/A np pi N/A testCircle N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A N/A Circle N/A Point 1 0 0 N/A Point 0 1 0 get_radius N/A 0.5 N/A np pi N/A N/A N/A self assertEqual N/A N/A N/A Circle N/A Point 1 0 0 N/A Point 0 1 0 N/A Point 0 -1 0 get_radius N/A 0.5 N/A np pi N/A N/A N/A self assertEqual N/A N/A N/A Circle N/A Point 1 0 0 N/A Point 0 1 0 angle N/A Point 0 1 0 0 N/A N/A N/A self assertEqual N/A N/A N/A Circle N/A Point 1 0 0 N/A Point 0 1 0 angle N/A Point 1 0 0 N/A 0.5 N/A np pi N/A N/A N/A self assertEqual N/A N/A N/A Circle N/A Point 1 0 0 N/A Point 0 1 0 angle N/A Point -1 0 0 N/A 0.5 N/A np pi N/A N/A N/A self assertEqual N/A N/A N/A Circle N/A Point 1 0 0 N/A Point 0 1 0 angle N/A Point 0 -1 0 N/A np pi N/A N/A N/A self assertEqual N/A N/A N/A Circle N/A Point 1 0 0 N/A Point 0 1 0 angle N/A Point 0 0 -1 N/A 0.5 N/A np pi N/A N/A N/A self assertEqual N/A N/A N/A Circle N/A Point 1 0 0 N/A Point 0 1 0 angle N/A Point 0 0 -1 N/A 0.5 N/A np pi N/A testConstruct N/A N/A self N/A N/A N/A N/A N/A self assertTrue N/A N/A N/A N/A N/A Construct midpoint N/A Point 1 0 0 N/A Point -1 1e-10 0 vector close N/A Vector 0 1 0 N/A N/A N/A self assertTrue N/A N/A N/A N/A N/A Construct midpoint N/A Point 1 0 0 N/A Point 0 0 1 vector close N/A N/A Point 1 0 1 vector N/A a N/A Line N/A Point 1 0 0 N/A Point 0 1 0 N/A b N/A Line N/A Point 1 0 0 N/A Point 0 0 1 N/A ab N/A N/A Construct line_intersect_line a b N/A N/A N/A self assertEqual N/A N/A ab N/A 0 vector N/A Vector 1 0 0 N/A N/A N/A self assertEqual N/A N/A ab N/A 1 vector N/A Vector -1 0 0 N/A a N/A Line N/A Point 1 0 0 N/A Point 0 1 0 N/A b N/A Line N/A Point 0 0 1 N/A Point 0 1 0 N/A c N/A Circle N/A Point 0 1 0 N/A Point 1 0 0 N/A ac N/A N/A Construct line_intersect_circle a c N/A bc N/A N/A Construct line_intersect_circle b c N/A N/A N/A self assertEqual ac None N/A N/A N/A self assertEqual N/A N/A bc N/A 0 vector N/A Vector 0 0 1 N/A N/A N/A self assertEqual N/A N/A bc N/A 1 vector N/A Vector 0 0 -1 N/A a N/A Circle N/A Point 1 0 0 N/A Point 0 1 0 N/A b N/A Circle N/A Point 0 1 0 N/A Point 0 0 1 N/A ab N/A N/A Construct circle_intersect_circle a b N/A N/A N/A self assertEqual N/A N/A ab N/A 0 vector N/A Vector 0 0 1 N/A N/A N/A self assertEqual N/A N/A ab N/A 1 vector N/A Vector 0 0 -1 N/A a N/A Circle N/A Point 1 0 0 N/A Point 0 1 0 N/A b N/A Circle N/A Point 0 1 0 N/A Point 0 1 1 N/A ab N/A N/A Construct circle_intersect_circle a b N/A N/A N/A self assertTrue N/A N/A N/A N/A ab N/A 0 vector close N/A N/A Point 0 1 1 vector N/A N/A N/A self assertTrue N/A N/A N/A N/A ab N/A 1 vector close N/A N/A Point 0 1 -1 vector N/A N/A