You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thank you so much — this software looks exactly like what I’ve been looking for. Great work!
I’m currently following the tutorial, but in section 1c I encountered a problem. Since it appears so early in the tutorial, I’m concerned it might affect later usage as well.
In a local .ipynb file (using VS Code), I get the following warnings:
/home/ruba/miniconda/envs/optilandTorch/lib/python3.11/site-packages/numpy/_core/function_base.py:162: RuntimeWarning: invalid value encountered in multiply
y *= step
/home/ruba/miniconda/envs/optilandTorch/lib/python3.11/site-packages/numpy/_core/function_base.py:172: RuntimeWarning: invalid value encountered in add
y += start
/home/ruba/miniconda/envs/optilandTorch/lib/python3.11/site-packages/optiland/geometries/standard.py:94: RuntimeWarning: invalid value encountered in sqrt
self.radius * (1 + be.sqrt(1 - (1 + self.k) * r2 / self.radius**2))
I have tried two different Conda environments:
one with Optiland installed from source (cloned from GitHub),
Thanks for opening this! Good find. This is a bug - you are not doing anything wrong. The issue is minor and relates to aperture extent plotting. I fixed this just now in #487. I will merge that shortly.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Hi,
First of all, thank you so much — this software looks exactly like what I’ve been looking for. Great work!
I’m currently following the tutorial, but in section 1c I encountered a problem. Since it appears so early in the tutorial, I’m concerned it might affect later usage as well.
In a local .ipynb file (using VS Code), I get the following warnings:
I have tried two different Conda environments:
However, the result is the same in both cases.
Am I doing something wrong?
Additional information:
Thanks in advance!
All reactions