Skip to content

Commit

Permalink
error_prop.error_prop_chuncodes: Add documentation about detection (iss
Browse files Browse the repository at this point in the history
  • Loading branch information
astrochun committed Mar 19, 2020
1 parent eb7ab24 commit 248cb67
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Metallicity_Stack_Commons/error_prop.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ def error_prop_chuncodes(path):
verify_tab = asc.read(verify_file)

detect = verify_tab['Detection']

# For now we are only considering those with reliable detection and
# excluding those with reliable non-detections (detect = 0.5)
detection = np.where((detect == 1))[0]

ID = verify_tab['ID']
Expand Down

0 comments on commit 248cb67

Please sign in to comment.