Skip to content

Commit

Permalink
Update spectral_cube/cube_utils.py
Browse files Browse the repository at this point in the history
Co-authored-by: Eric Koch <koch.eric.w@gmail.com>
  • Loading branch information
keflavich and e-koch committed Dec 19, 2023
1 parent 38e24b7 commit cf9d68c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spectral_cube/cube_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -834,6 +834,7 @@ def combine_headers(header1, header2, spectral_dx_threshold=0, **kwargs):
header.update(wcs_opt.to_header())
header['CRVAL3'] = new_crval3
header['WCSAXES'] = 3
header['BITPIX'] = header1['BITPIX']
return header

def _getdata(cube):
Expand Down

0 comments on commit cf9d68c

Please sign in to comment.