Skip to content

Inifinite Phase Screen startup performance improvement#57

Merged
matthewtownson merged 5 commits into
AOtools:masterfrom
andrewpaulreeves:master
Jul 8, 2020
Merged

Inifinite Phase Screen startup performance improvement#57
matthewtownson merged 5 commits into
AOtools:masterfrom
andrewpaulreeves:master

Conversation

@andrewpaulreeves

Copy link
Copy Markdown
Contributor

The infinite phase screen code spends a lot of time "calculating seperations" as it does nested Python loop. Its much quicker re-implemented in Numba. Optional import so code still works without Numba, just slower.

@codecov

codecov Bot commented Jul 8, 2020

Copy link
Copy Markdown

Codecov Report

Merging #57 into master will decrease coverage by 1.27%.
The diff coverage is 30.76%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #57      +/-   ##
==========================================
- Coverage   94.97%   93.70%   -1.28%     
==========================================
  Files          24       24              
  Lines        1175     1191      +16     
==========================================
  Hits         1116     1116              
- Misses         59       75      +16     
Impacted Files Coverage Δ
aotools/turbulence/infinitephasescreen.py 86.09% <30.76%> (-10.21%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 025e059...c079baf. Read the comment docs.

@matthewtownson

Copy link
Copy Markdown
Member

That is a lot faster! Thanks.

@matthewtownson matthewtownson merged commit 601c358 into AOtools:master Jul 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants