Module ImportFrom alias ImportFrom alias alias alias Import alias identifier Assign NameStore Call NameLoad Str Assign NameStore SubscriptLoad NameLoad ExtSlice Slice Index Num Assign NameStore SubscriptLoad NameLoad ExtSlice Slice Index Num Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore NameLoad If Call AttributeLoad Call AttributeLoad NameLoad attr attr Str body Assign NameStore Call NameLoad orelse If Call AttributeLoad Call AttributeLoad NameLoad attr attr Str body Assign NameStore Call NameLoad orelse If Call AttributeLoad Call AttributeLoad NameLoad attr attr Str body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad If NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr keyword Num keyword NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Print Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr
N/A numpy loadtxt lmfit.models LorentzianModel GaussianModel VoigtModel N/A matplotlib.pyplot plt N/A data N/A loadtxt test_peak.dat N/A x N/A data N/A N/A N/A 0 N/A y N/A data N/A N/A N/A 1 N/A MODEL gauss N/A MODEL loren N/A MODEL voigt N/A gamma_free True N/A N/A N/A N/A N/A MODEL lower startswith g N/A N/A mod N/A GaussianModel N/A N/A N/A N/A N/A N/A MODEL lower startswith l N/A N/A mod N/A LorentzianModel N/A N/A N/A N/A N/A N/A MODEL lower startswith v N/A N/A mod N/A VoigtModel N/A pars N/A N/A mod guess y x x N/A gamma_free N/A N/A N/A N/A N/A pars N/A gamma set value 0.7 vary True expr N/A out N/A N/A mod fit y pars x x N/A N/A N/A out fit_report min_correl 0.25 N/A N/A N/A plt plot x y b- N/A N/A N/A plt plot x N/A out best_fit r- N/A N/A N/A plt show