Module Import alias identifier Import alias Import alias alias ImportFrom alias alias ImportFrom alias alias alias FunctionDef arguments args defaults body Assign NameStore Call NameLoad ListLoad Str Str Str Str keyword NameLoad Return Call AttributeLoad SubscriptLoad Call AttributeLoad NameLoad attr Index Num attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Str attr Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Str attr Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Str attr Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Str attr Assign NameStore BinOpMult BinOpMult NameLoad Call AttributeLoad NameLoad attr BinOpAdd BinOpMult NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr BinOpMult BinOpMult UnaryOpUSub NameLoad NameLoad NameLoad Return BinOpSub NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults Num body Assign NameStore Call AttributeLoad NameLoad attr Num Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num For NameStore Call NameLoad NameLoad body Assign NameStore BinOpAdd BinOpMult BinOpMult Num Call AttributeLoad NameLoad attr BinOpSub BinOpMult Num NameLoad Num Call AttributeLoad NameLoad attr BinOpMult BinOpMult UnaryOpUSub NameLoad NameLoad Num Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call NameLoad NameLoad keyword Num Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Str keyword Num keyword Num keyword Num Expr Call AttributeLoad NameLoad attr Str keyword Num keyword Num keyword Num Expr Call AttributeLoad NameLoad attr Str keyword Num keyword BinOpDiv UnaryOpUSub AttributeLoad NameLoad attr Num keyword BinOpDiv AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str keyword Num keyword Num keyword Num Assign NameStore Call NameLoad NameLoad NameLoad keyword TupleLoad NameLoad NameLoad Assert CompareLt AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Num Assert CompareGt AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Num Assert CompareLt AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Num Assert CompareGt AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Str attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore Call NameLoad If CompareIs NameLoad NameLoad body Assign NameStore BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call NameLoad NameLoad decorator_list Expr Call NameLoad Str
N/A N/A numpy np N/A time N/A cProfile pstats subprocess Popen PIPE lmfit minimize Parameters __version__ get_git_version N/A N/A N/A N/A N/A proc N/A Popen N/A git rev-parse --short HEAD stdout PIPE N/A N/A N/A N/A N/A N/A proc communicate N/A 0 strip N/A fcn2min N/A N/A params x data N/A N/A N/A  model decaying sine wave, subtract data N/A amp N/A N/A params N/A amp value N/A shift N/A N/A params N/A shift value N/A omega N/A N/A params N/A omega value N/A decay N/A N/A params N/A decay value N/A model N/A N/A amp N/A N/A np sin N/A N/A x omega shift N/A N/A np exp N/A N/A N/A x x decay N/A N/A model data N/A run_fit N/A N/A nruns N/A 100 N/A N/A x N/A N/A np linspace 0 15 601 N/A N/A N/A N/A np random seed 201 N/A i N/A range nruns N/A N/A data N/A N/A N/A 5.0 N/A N/A np sin N/A N/A 2 x 0.1 N/A N/A np exp N/A N/A N/A x x 0.025 N/A N/A N/A np random normal size N/A len x scale 0.1 N/A params N/A Parameters N/A N/A N/A params add amp value 1.0 min 0.0 max 100.0 N/A N/A N/A params add decay value 0.0 min -1.0 max 10.0 N/A N/A N/A params add shift value 0.0 min N/A N/A N/A np pi 2.0 max N/A N/A np pi 2 N/A N/A N/A params add omega value 1.0 min -10.0 max 10.0 N/A out N/A minimize fcn2min params args N/A x data N/A N/A N/A N/A N/A out params N/A amp value 5.5 N/A N/A N/A N/A N/A out params N/A amp value 4.5 N/A N/A N/A N/A N/A out params N/A omega value 2.25 N/A N/A N/A N/A N/A out params N/A omega value 1.75 N/A show_profile N/A N/A filename N/A N/A N/A stats N/A N/A pstats Stats filename N/A N/A N/A N/A N/A N/A N/A stats strip_dirs sort_stats tottime print_stats 20 N/A profile_command N/A N/A command filename N/A None N/A N/A gitversion N/A get_git_version N/A N/A filename None N/A N/A filename N/A %s.prof gitversion N/A prof N/A N/A cProfile run command filename filename N/A N/A show_profile filename N/A N/A N/A profile_command run_fit()