Skip to content

Commit

Permalink
Change non_det to rlimit (PR review)
Browse files Browse the repository at this point in the history
  • Loading branch information
astrochun committed Jun 20, 2021
1 parent 2034063 commit 7a6ec78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Metallicity_Stack_Commons/analysis/error_prop.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ def replace_oiii4363(flux_file: str, detection: np.ndarray,

flux_limit = OIII4363_flux_limit(flux_file, log=log)

non_det = np.where(detection == 0.5)[0]
flux_dict[line_name_short['4363']][non_det] = flux_limit[non_det]
rlimit = np.where(detection == 0.5)[0]
flux_dict[line_name_short['4363']][rlimit] = flux_limit[rlimit]

return flux_dict

Expand Down

0 comments on commit 7a6ec78

Please sign in to comment.