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

Performance improvements (xarray and RT loop) #70

Merged
merged 4 commits into from
Jun 27, 2024
Merged

Conversation

phoebe-p
Copy link
Member

Performance improvements by loading lookup tables (xarrays) explicitly at each wavelength when raytracing, which makes looking up values much faster. Also put some things which are the same for each incidence angle/position the same outside single_ray_stack to avoid recalculating them every time.

Copy link

codecov bot commented Jun 26, 2024

Codecov Report

Attention: Patch coverage is 97.77778% with 1 line in your changes missing coverage. Please review.

Project coverage is 93.14%. Comparing base (38c1eeb) to head (484344e).

Files Patch % Lines
rayflare/ray_tracing/rt.py 97.77% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##            devel      #70      +/-   ##
==========================================
- Coverage   93.18%   93.14%   -0.04%     
==========================================
  Files          20       20              
  Lines        3036     3033       -3     
==========================================
- Hits         2829     2825       -4     
- Misses        207      208       +1     

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

@phoebe-p phoebe-p merged commit 8626d66 into devel Jun 27, 2024
27 checks passed
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.

1 participant