Module Expr Str Import alias Import alias identifier ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr TupleLoad BinOpMult Num Call AttributeLoad NameLoad attr TupleLoad Num Num AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Num keyword Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr TupleLoad BinOpMult Num Call AttributeLoad NameLoad attr TupleLoad Num Num Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Num keyword Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr TupleLoad BinOpMult Num Call AttributeLoad NameLoad attr TupleLoad Num Num Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Num keyword Num decorator_list decorator_list
N/A N/A This module provides the test class for the padt() function.
 N/A unittest N/A numpy np deltasigma padt TestPadt N/A N/A unittest TestCase N/A N/A Test class for padt() setUp N/A N/A self N/A N/A N/A N/A self tv1 N/A N/A np eye 15 N/A N/A self tv2 N/A N/A np arange 10 N/A N/A self tv3 N/A N/A np array N/A N/A test_padt_1 N/A N/A self N/A N/A N/A Test function for padt() 1/3 N/A tr N/A padt N/A self tv1 n 25 val 2 N/A res N/A N/A np concatenate N/A N/A 2.0 N/A N/A np ones N/A 10 15 N/A self tv1 axis 0 N/A N/A N/A self assertTrue N/A N/A np allclose tr res atol 1e-08 rtol 1e-05 N/A test_padt_2 N/A N/A self N/A N/A N/A Test function for padt() 2/3 N/A tr N/A padt N/A self tv2 n 25 val 1.5 N/A res N/A N/A np vstack N/A N/A 1.5 N/A N/A np ones N/A 15 1 N/A N/A N/A self tv2 reshape N/A -1 1 N/A N/A N/A self assertTrue N/A N/A np allclose tr res atol 1e-08 rtol 1e-05 N/A test_padt_3 N/A N/A self N/A N/A N/A Test function for padt() 3/3 N/A tr N/A padt N/A self tv3 n 25 val 1.5 N/A res N/A N/A np vstack N/A N/A 1.5 N/A N/A np ones N/A 25 1 N/A N/A N/A self tv3 reshape N/A -1 1 N/A N/A N/A self assertTrue N/A N/A np allclose tr res atol 1e-08 rtol 1e-05 N/A N/A