Skip to content
Snippets Groups Projects
Commit 3268f8c8 authored by GuenterQuast's avatar GuenterQuast
Browse files

simpler initialization of HistContainer

parent a6ef3dfb
No related branches found
No related tags found
No related merge requests found
......@@ -111,10 +111,9 @@ left_bases = peak_props["left_bases"]
right_bases = peak_props["right_bases"]
fwhms = peak_props["widths"]
# perform fit for precise determination
# fit for precise determination of peak properties and uncertainties
# put data in kafe2 HistContainer
hdata = HistContainer(bin_edges=bin_edges)
hdata.set_bins(hst)
hdata = HistContainer(bin_edges=bin_edges, fill_data=hst)
hdata.label = "spectrum data"
# initialize arrays for output
fit_results=[]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment