Skip to content

Commit

Permalink
Fix error: display correct number of peaks detected
Browse files Browse the repository at this point in the history
  • Loading branch information
nicocardiel committed Jul 13, 2018
1 parent 9d104b3 commit 8576895
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion megaradrp/recipes/calibration/arc.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ def calibrate_wl(self, rss, lines_catalog, poldeg, tracemap, nlines,

# store results for plotting
plot_tracenumber.append(fibid)
plot_npeaksfound.append(nlines)
plot_npeaksfound.append(len(fxpeaks))
plot_crval1.append(solution_wv.cr_linear.crval)
plot_cdelt1.append(solution_wv.cr_linear.cdelt)
plot_coeff.append(solution_wv.coeff)
Expand Down

0 comments on commit 8576895

Please sign in to comment.