+
Skip to content

Conversation

andrewpaulreeves
Copy link
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
Copy link

codecov bot commented Jul 8, 2020

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
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载