Skip to content

Comments

Adding Harmonica to Stage 5#750

Merged
kevin218 merged 19 commits intomainfrom
kbs
May 13, 2025
Merged

Adding Harmonica to Stage 5#750
kevin218 merged 19 commits intomainfrom
kbs

Conversation

@kevin218
Copy link
Owner

@kevin218 kevin218 commented Mar 6, 2025

As another means to fit asymmetric limbs, this PR integrates David Grant's Harmonica package into Eureka!. Initial tests indicate that Harmonica is significantly faster than Catwoman and has more flexibility in terms of the planet shape. Harmonica also works well as a replacement for Batman.

This push has fully functioning code using the latest version of Eureka!. I've verified that is produces nearly identical results to Catwoman. This PR also includes documentation and new pytest routines.

@taylorbell57
Copy link
Collaborator

Any updates on this @kevin218?

@kevin218
Copy link
Owner Author

Sadly, this project keeps getting bumped down my ToDo list due to more pressing tasks, like Cycle 4 budgets. Hopefully soon...

@kevin218 kevin218 requested a review from taylorbell57 May 7, 2025 15:49
@codecov
Copy link

codecov bot commented May 7, 2025

Codecov Report

Attention: Patch coverage is 39.41176% with 103 lines in your changes missing coverage. Please review.

Project coverage is 52.21%. Comparing base (d24cd6f) to head (e9ab0b2).

Files with missing lines Patch % Lines
src/eureka/S6_planet_spectra/s6_spectra.py 16.41% 56 Missing ⚠️
src/eureka/S5_lightcurve_fitting/plots_s5.py 8.57% 32 Missing ⚠️
...eka/S5_lightcurve_fitting/models/HarmonicaModel.py 77.77% 10 Missing ⚠️
src/eureka/S5_lightcurve_fitting/fitters.py 37.50% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #750      +/-   ##
==========================================
- Coverage   52.35%   52.21%   -0.14%     
==========================================
  Files         117      118       +1     
  Lines       15063    15218     +155     
==========================================
+ Hits         7886     7946      +60     
- Misses       7177     7272      +95     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@kevin218 kevin218 requested a review from taylorbell57 May 13, 2025 18:42
Copy link
Collaborator

@taylorbell57 taylorbell57 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a coupe of small edits left.

Maybe let's get this PR and my Stage 1 PR both merged before releasing v1.2.1?

@kevin218 kevin218 merged commit 1668d41 into main May 13, 2025
2 of 3 checks passed
@taylorbell57
Copy link
Collaborator

Hmm, I just realized that something in this PR made it so that the NIRCam tests never complete - all the automated tests were killed after running continuously for 6 hours, and my own local test never completed either...

@taylorbell57
Copy link
Collaborator

Aha, I figured it out - there will be a patch in my in-prep jaxoplanet PR #766

@kevin218
Copy link
Owner Author

kevin218 commented May 17, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants