Skip to content

Commit

Permalink
fixed issue with full_template where multi-trace arxivs were not flat…
Browse files Browse the repository at this point in the history
…tened
  • Loading branch information
Adolfo1519 committed Jul 15, 2024
1 parent b8262ed commit ec1043c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pypeit/core/wavecal/autoid.py
Original file line number Diff line number Diff line change
Expand Up @@ -1150,7 +1150,7 @@ def full_template(spec, lamps, par, ok_mask, det, binspectral, nsnippet=2, slit_
ncomb = temp_spec.size
# Remove the continuum before adding the padding to obs_spec_i
_, _, _, _, obs_spec_cont_sub = wvutils.arc_lines_from_spec(obs_spec_i)
_, _, _, _, templ_spec_cont_sub = wvutils.arc_lines_from_spec(temp_spec)
_, _, _, _, templ_spec_cont_sub = wvutils.arc_lines_from_spec(temp_spec.reshape(-1))
# Pad
pad_spec = np.zeros_like(temp_spec)
nspec = len(obs_spec_i)
Expand Down

0 comments on commit ec1043c

Please sign in to comment.