Skip to content

Commit

Permalink
balmer.HbHgHd_fits: Fix file path to provide absolute one (iss #10)
Browse files Browse the repository at this point in the history
  • Loading branch information
astrochun committed Jun 10, 2020
1 parent 57605f1 commit ce66e50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Metallicity_Stack_Commons/plotting/balmer.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def HbHgHd_fits(fitspath, out_pdf_prefix='HbHgHd_fits',
:param use_revised: Indicate whether to use regular or revised tables (bool)
"""

comp_spec_file = filename_dict['comp_spec']
comp_spec_file = join(fitspath, filename_dict['comp_spec'])
stack2D, header = fits.getdata(comp_spec_file, header=True)
wave = header['CRVAL1'] + header['CDELT1']*np.arange(header['NAXIS1'])

Expand Down

0 comments on commit ce66e50

Please sign in to comment.