Skip to content

Commit

Permalink
plotting.balmer.fitting_result: Fix incorrect name (iss #10)
Browse files Browse the repository at this point in the history
  • Loading branch information
astrochun committed Mar 1, 2020
1 parent 8f2440d commit 10f03ce
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 @@ -66,7 +66,7 @@ def fitting_result(wave, y_norm, lambda_cen, balmer_fit, balmer_fit_neg):
gauss0 = double_gauss(wave, *balmer_fit)
neg0 = gauss(wave, *balmer_fit_neg)
gauss0_diff = gauss0 - neg0
y_norm_diff = y_norm[x_sigsnip] - Bneg0[x_sigsnip]
y_norm_diff = y_norm[x_sigsnip] - neg0[x_sigsnip]

# Residuals
x_sigsnip_2 = np.where(np.abs((wave - lambda_cen)) / balmer_fit[1] <= 3.0)[0]
Expand Down

0 comments on commit 10f03ce

Please sign in to comment.