Skip to content

Commit

Permalink
Fix latex text for Hd/Hb
Browse files Browse the repository at this point in the history
  • Loading branch information
astrochun committed May 18, 2021
1 parent ab6d066 commit a472fac
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 @@ -245,7 +245,7 @@ def HbHgHd_fits(fitspath: str, out_pdf_prefix: str ='HbHgHd_fits',
txt2 += f"F_G: {Hd_fit_dict['flux_gauss']:.3f} " + \
f"F_S: {Hd_fit_dict['flux_spec']:.3f}" + "\n"
HdHb = Hd_fit_dict['flux_gauss']/Hb_fit_dict['flux_gauss']
txt2 += fr"H$\delta/H$\beta$: {HdHb:.2f} E(B-V): {EBV_HdHb:.2f}"
txt2 += fr"H$\delta$/H$\beta$: {HdHb:.2f} E(B-V): {EBV_HdHb:.2f}"

ax_arr[row][0].plot(wave, y_norm, 'k', linewidth=0.3, label='Emission')
ax_arr[row][0].plot(wave, Hd_fit_dict['gauss'], 'm', linewidth=0.25,
Expand Down

0 comments on commit a472fac

Please sign in to comment.