Skip to content

Commit

Permalink
error_prop.construct_pdf: Use ratios.error_prop_flux_ratios (iss #5)
Browse files Browse the repository at this point in the history
  • Loading branch information
astrochun committed Mar 19, 2020
1 parent 3e6153a commit faad271
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Metallicity_Stack_Commons/error_prop.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import numpy as np

from .column_names import filename_dict

from .ratios import error_prop_flux_ratios

"""
def construct_pdf(values, RMS, seed_i=1, n_iter=1000):
Expand Down Expand Up @@ -96,3 +96,6 @@ def error_prop_chuncodes(path):
np.savez(path + 'flux_xpeak.npz', **flux_xpeak)
# np.savez(path + 'Te_errors.npz', **Te_lowhigh)

# Obtain distributions of line ratios: logR23, logO32, two_beta, three_beta, R
flux_ratios_dict = error_prop_flux_ratios(flux_propdist_dict)

0 comments on commit faad271

Please sign in to comment.