Skip to content

Commit

Permalink
Merge pull request #2395 from desihub/further_efftime_fix
Browse files Browse the repository at this point in the history
get rid of the ebv factor in the backup efftime calculation in one more code location
  • Loading branch information
akremin authored Oct 22, 2024
2 parents 730aa44 + 4b71b7b commit fe88bbd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion py/desispec/efftime.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,9 @@ def compute_efftime(table,
exptime
* (fiberfac_psf / airfac) ** 2
* (sky_nom / effsky_backup)
/ ebvfac ** 2
)
# Note that the backup calculation is on purpose
# ommitting the E(B-V) term

# set to -1 values with incorrect inputs
bad=table["AIRMASS"]<0.99
Expand Down

0 comments on commit fe88bbd

Please sign in to comment.