Skip to content

Commit 7a6ec78

Browse files
committed
Change non_det to rlimit (PR review)
1 parent 2034063 commit 7a6ec78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: Metallicity_Stack_Commons/analysis/error_prop.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ def replace_oiii4363(flux_file: str, detection: np.ndarray,
4848

4949
flux_limit = OIII4363_flux_limit(flux_file, log=log)
5050

51-
non_det = np.where(detection == 0.5)[0]
52-
flux_dict[line_name_short['4363']][non_det] = flux_limit[non_det]
51+
rlimit = np.where(detection == 0.5)[0]
52+
flux_dict[line_name_short['4363']][rlimit] = flux_limit[rlimit]
5353

5454
return flux_dict
5555

0 commit comments

Comments
 (0)