kevin218 / Eureka

Eureka! is a data reduction and analysis pipeline intended for time-series observations with JWST.
https://eurekadocs.readthedocs.io/
MIT License
60 stars 47 forks source link

Assorted HST and JWST enhancements #600

Closed kevin218 closed 8 months ago

kevin218 commented 9 months ago

This PR implements a few, unrelated enhancements based on my needs while working on several projects over the past week. Fitting LCs to HST WFC3 data is now less sensitive to HST's period because, by adding h6, the reset now happens during Earth occultation instead of at the time of the first science frame. This PR also solves an issue reported in #570 in a slightly different manner than @taylorbell57's solution because I wanted to get the half-pixel edges correct (bounds for detector pixels 5-28 need to be 4.5-28.5). Here's a brief list of fixes:

codecov-commenter commented 9 months ago

Codecov Report

Attention: 12 lines in your changes are missing coverage. Please review.

Comparison is base (fb35718) 57.65% compared to head (7d1fa1a) 57.72%.

Files Patch % Lines
...ureka/S5_lightcurve_fitting/models/HSTRampModel.py 0.00% 4 Missing :warning:
src/eureka/S3_data_reduction/nirspec.py 0.00% 3 Missing :warning:
src/eureka/S3_data_reduction/plots_s3.py 94.59% 2 Missing :warning:
src/eureka/S3_data_reduction/wfc3.py 80.00% 2 Missing :warning:
src/eureka/S3_data_reduction/s3_reduce.py 50.00% 1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #600 +/- ## ========================================== + Coverage 57.65% 57.72% +0.06% ========================================== Files 96 96 Lines 11629 11643 +14 ========================================== + Hits 6705 6721 +16 + Misses 4924 4922 -2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

kevin218 commented 8 months ago

@taylorbell57 Good to go whenever you get a chance.

taylorbell57 commented 8 months ago

Sorry for the slow response, just reviewed the PR again and it was all good