Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: Time delay now tested for SIE #307

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open

Conversation

ConnorStoneAstro
Copy link
Member

Time delays are now tested for the SIE model for various source positions and SIE parameters. Time delays are computed from the base ThinLens class, so in principle this means all lenses should have correct time delays now. Still, might be good to go back and test a few other lens models. Also, should test multiplane time delay too.

Note: bug found in time delay calculation and was corrected. Needed to use reduced deflection angle rather than physical.

@ConnorStoneAstro ConnorStoneAstro added fix A bug fix patch for the codebase tests Adding missing tests or correcting existing tests labels Dec 21, 2024
@ConnorStoneAstro ConnorStoneAstro linked an issue Dec 21, 2024 that may be closed by this pull request
Copy link

codecov bot commented Dec 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.31%. Comparing base (264b300) to head (f5423ac).

Additional details and impacted files
@@           Coverage Diff           @@
##              dev     #307   +/-   ##
=======================================
  Coverage   90.31%   90.31%           
=======================================
  Files          55       55           
  Lines        2281     2281           
=======================================
  Hits         2060     2060           
  Misses        221      221           
Flag Coverage Δ
unittests 90.31% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix A bug fix patch for the codebase tests Adding missing tests or correcting existing tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test time delays for thin lenses
1 participant