Skip to content

Commit

Permalink
Fix bug with EBV initialization (iss #57)
Browse files Browse the repository at this point in the history
  • Loading branch information
astrochun committed Jun 14, 2020
1 parent 0d11b1b commit ef082ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Metallicity_Stack_Commons/analysis/ratios.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def flux_ratios(flux_dict, EBV=None, get_R=True):

if EBV is None:
print("Not applying dust attenuation correction")
EBV = np.zeros(OIII4363.shape)
EBV = np.zeros(OIII.shape)

if get_R:
flux_ratios_dict['R'] = R_calculation(OIII4363, OIII, EBV)
Expand Down

0 comments on commit ef082ca

Please sign in to comment.