LSSTDESC / rail_attic

Redshift Assessment Infrastructure Layers
MIT License
14 stars 9 forks source link

Issue/347/mw extinction #382

Closed hangqianjun closed 1 year ago

hangqianjun commented 1 year ago

Adding a function to the obs_condition module such that when an E(B-V) map is supplied, the MW extinction reddening is applied to the data for each band before passing on to the LSST error model.

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (09739f6) 100.00% compared to head (c8848e1) 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #382 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 40 40 Lines 2860 2876 +16 ========================================= + Hits 2860 2876 +16 ``` | Flag | Coverage Δ | | |---|---|---| | unittests | `100.00% <100.00%> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=LSSTDESC#carryforward-flags-in-the-pull-request-comment) to find out more. | [Impacted Files](https://app.codecov.io/gh/LSSTDESC/RAIL/pull/382?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=LSSTDESC) | Coverage Δ | | |---|---|---| | [...eation/degradation/observing\_condition\_degrader.py](https://app.codecov.io/gh/LSSTDESC/RAIL/pull/382?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=LSSTDESC#diff-c3JjL3JhaWwvY3JlYXRpb24vZGVncmFkYXRpb24vb2JzZXJ2aW5nX2NvbmRpdGlvbl9kZWdyYWRlci5weQ==) | `100.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.