Skip to content

Commit

Permalink
error_prop.fluxes_derived_prop: Use new filenames for npz; Include pd…
Browse files Browse the repository at this point in the history
…f file for derived properties (iss #5)
  • Loading branch information
astrochun committed Mar 28, 2020
1 parent 09ba5a5 commit 4da4a0f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Metallicity_Stack_Commons/error_prop.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,9 @@ def fluxes_derived_prop(path, binned_data=True):
derived_prop_error_dict[names0+'_lowhigh_error'] = err_prop
derived_prop_peak_dict[names0+'_peak'] = peak_prop

npz_files = [npz_filename_dict['metal_errors'],
npz_filename_dict['metal_peak']]
dict_list = [derived_prop_error_dict, derived_prop_peak_dict]
npz_files = [npz_filename_dict['der_prop_pdf'],
npz_filename_dict['der_prop_errors'],
npz_filename_dict['der_prop_peak']]
dict_list = [derived_prop_pdf_dict, derived_prop_error_dict,
derived_prop_peak_dict]
write_npz(path, npz_files, dict_list)

0 comments on commit 4da4a0f

Please sign in to comment.