Module ImportFrom alias Import alias identifier Import alias identifier ImportFrom alias alias alias alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Num Assign NameStore Call NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Num Num Num Assign TupleStore NameStore NameStore Call NameLoad NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr BinOpAdd Call NameLoad NameLoad Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Set Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Num Num Num Assign TupleStore NameStore NameStore Call NameLoad NameLoad keyword Num Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr BinOpAdd Call NameLoad NameLoad Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Set Num decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Num Num Num Assign TupleStore NameStore NameStore NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Num Num Num Assign NameStore BinOpMult Num Call AttributeLoad NameLoad attr BinOpMult BinOpMult Num AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Str Str Assign NameStore SubscriptLoad AttributeLoad SubscriptLoad NameLoad Index CompareEq AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr attr Index Num Expr Call AttributeLoad NameLoad attr Call NameLoad ListComp CompareGt NameLoad Num comprehension NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Num keyword Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Num keyword Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Num keyword Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Num keyword Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Num Num Num Assign NameStore BinOpMult Num Call AttributeLoad NameLoad attr BinOpMult BinOpMult Num AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Str Str keyword Num Assign NameStore SubscriptLoad AttributeLoad SubscriptLoad NameLoad Index CompareEq AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr attr Index Num Expr Call AttributeLoad NameLoad attr Call NameLoad ListComp CompareGt NameLoad Num comprehension NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Num keyword Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Num keyword Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Num keyword Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Num keyword Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Num Num Num Assign NameStore BinOpMult Num Call AttributeLoad NameLoad attr BinOpMult BinOpMult Num AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Str Str keyword NameLoad Assign NameStore SubscriptLoad AttributeLoad SubscriptLoad NameLoad Index CompareEq AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr attr Index Num Expr Call AttributeLoad NameLoad attr Call NameLoad ListComp CompareGt NameLoad Num comprehension NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Num keyword Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Num keyword Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Num keyword Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Num keyword Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num decorator_list decorator_list
N/A unittest TestCase N/A pandas pd N/A numpy np pandashells.lib.lomb_scargle_lib _next_power_two _compute_pad _compute_params lomb_scargle NextPowerTwoTest N/A TestCase N/A test_proper_return N/A N/A self N/A N/A N/A past_100 N/A _next_power_two 100 N/A past_1000 N/A _next_power_two 1000 N/A N/A N/A self assertEqual past_100 128 N/A N/A N/A self assertEqual past_1000 1024 N/A N/A ComputePadTest N/A TestCase N/A test_exp0 N/A N/A self N/A N/A N/A t N/A N/A np linspace 0 10 101 N/A N/A t_pad y_pad N/A _compute_pad t N/A dt N/A N/A N/A np diff t_pad N/A -1 N/A N/A N/A self assertAlmostEqual dt 0.1 N/A N/A N/A self assertEqual N/A N/A len t_pad N/A len t 128 N/A N/A N/A self assertEqual N/A set y_pad N/A 0.0 N/A test_exp2 N/A N/A self N/A N/A N/A t N/A N/A np linspace 0 10 101 N/A N/A t_pad y_pad N/A _compute_pad t interp_exponent 2 N/A dt N/A N/A N/A np diff t_pad N/A -1 N/A N/A N/A self assertAlmostEqual dt 0.1 N/A N/A N/A self assertEqual N/A N/A len t_pad N/A len t 512 N/A N/A N/A self assertEqual N/A set y_pad N/A 0.0 N/A N/A ComputeParamsTest N/A TestCase N/A test_proper_return N/A N/A self N/A N/A N/A t N/A N/A np linspace 0 10 101 N/A N/A min_freq d_freq N N/A _compute_params t N/A N/A N/A self assertAlmostEqual min_freq 0.1 N/A N/A N/A self assertAlmostEqual d_freq 0.049504950495 N/A N/A N/A self assertAlmostEqual N 101 N/A N/A LombScargleTest N/A TestCase N/A test_no_pad N/A N/A self N/A N/A N/A t N/A N/A np linspace 0 10 256 N/A y N/A 7 N/A N/A np sin N/A N/A 2 N/A np pi t N/A df_in N/A N/A pd DataFrame N/A t y t y N/A df N/A lomb_scargle df_in t y N/A max_rec N/A N/A N/A df N/A N/A N/A df amp N/A N/A N/A df amp max iloc N/A 0 N/A N/A N/A self assertTrue N/A all N/A N/A x 0 N/A x N/A N/A N/A N/A N/A df period diff dropna N/A N/A N/A self assertAlmostEqual N/A max_rec N/A amp 7 places 0 N/A N/A N/A self assertAlmostEqual N/A max_rec N/A power 49 places 0 N/A N/A N/A self assertAlmostEqual N/A max_rec N/A period 1 places 0 N/A N/A N/A self assertAlmostEqual N/A max_rec N/A freq 1 places 0 N/A N/A N/A self assertEqual N/A len df 256 N/A test_with_pad N/A N/A self N/A N/A N/A t N/A N/A np linspace 0 10 256 N/A y N/A 7 N/A N/A np sin N/A N/A 2 N/A np pi t N/A df_in N/A N/A pd DataFrame N/A t y t y N/A df N/A lomb_scargle df_in t y interp_exponent 1 N/A max_rec N/A N/A N/A df N/A N/A N/A df amp N/A N/A N/A df amp max iloc N/A 0 N/A N/A N/A self assertTrue N/A all N/A N/A x 0 N/A x N/A N/A N/A N/A N/A df period diff dropna N/A N/A N/A self assertAlmostEqual N/A max_rec N/A amp 7 places 0 N/A N/A N/A self assertAlmostEqual N/A max_rec N/A power 49 places 0 N/A N/A N/A self assertAlmostEqual N/A max_rec N/A period 1 places 0 N/A N/A N/A self assertAlmostEqual N/A max_rec N/A freq 1 places 0 N/A N/A N/A self assertEqual N/A len df 512 N/A test_freq_order N/A N/A self N/A N/A N/A t N/A N/A np linspace 0 10 256 N/A y N/A 7 N/A N/A np sin N/A N/A 2 N/A np pi t N/A df_in N/A N/A pd DataFrame N/A t y t y N/A df N/A lomb_scargle df_in t y freq_order True N/A max_rec N/A N/A N/A df N/A N/A N/A df amp N/A N/A N/A df amp max iloc N/A 0 N/A N/A N/A self assertTrue N/A all N/A N/A x 0 N/A x N/A N/A N/A N/A N/A df freq diff dropna N/A N/A N/A self assertAlmostEqual N/A max_rec N/A amp 7 places 0 N/A N/A N/A self assertAlmostEqual N/A max_rec N/A power 49 places 0 N/A N/A N/A self assertAlmostEqual N/A max_rec N/A period 1 places 0 N/A N/A N/A self assertAlmostEqual N/A max_rec N/A freq 1 places 0 N/A N/A N/A self assertEqual N/A len df 256 N/A N/A