Skip to content

Commit

Permalink
update paper plot script
Browse files Browse the repository at this point in the history
  • Loading branch information
AWehrhahn committed Sep 3, 2021
1 parent 90a1965 commit fc9c6a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plots_for_paper/wavecal_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,14 +117,14 @@ def make_reference_spectrum(lines, nrow, ncol, nord):
mask = data[0]["mask"]
bias, bhead = data[0]["bias"]
orders, column_range = data[0]["orders"]
wave, thar, coef, linelist = data[0]["wavecal"]
wave, coef, linelist = data[0]["wavecal"]
xwd = config["wavecal"]["extraction_width"]
nrow, ncol = bias.shape
nord = len(orders)
xwd, column_range, orders = fix_parameters(xwd, column_range, orders, nrow, ncol, nord)

orig, _ = combine_flat(
files["wavecal"], instrument, mode, extension, mask=mask, bias=bias, bhead=bhead
files["wavecal_master"], instrument, mode, extension, mask=mask, bias=bias, bhead=bhead
)

ref = make_reference_spectrum(linelist, nrow, ncol, nord)
Expand Down

0 comments on commit fc9c6a7

Please sign in to comment.