drpaprika

Results 11 comments of drpaprika

Thanks for the very quick answer ! Is it possible to store the token in a file of my project and not use the export option ? Should I always...

Thanks for the reply, I'll be looking into it !

Hi, any updates on this ? Do you have info about how the memory usage behaves after hours/days of non-stop running ?

Hi @kkrutkowski, just to let you know the glass substitution algorithm has been implemented in PR #211. Please take a look at [Tutorial 7e](https://github.com/HarrisonKramer/optiland/blob/master/docs/examples/Tutorial_7e_Glass_Expert.ipynb). Best, drpaprika

Hi @kkrutkowski, I'm closing this issue at it seems to be solved by PRs [#173](https://github.com/HarrisonKramer/optiland/pull/173) and [#211](https://github.com/HarrisonKramer/optiland/pull/211). Please feel free to open a new issue for anything related to Glass...

Following your comment the `view()` method uses `surface.semi_aperture` to compute the sag. The figure is now in non-normalized coordinates ![image](https://github.com/user-attachments/assets/ed515ca7-70a4-4296-b74e-279d1de98894) I'll take a look at plotting the deviation to the...

I update the code with an option to display the deviation to the BFS. I runs without error but the result is surprising, as the deviation to a plane is...

Implemented your suggestions, the result looks better. However the radius of the bfs is -1500mm while the radius of the surface is -100mm ![image](https://github.com/user-attachments/assets/51e400e7-cb35-47f0-aba8-fa16379148e4) ![image](https://github.com/user-attachments/assets/b77a3ad4-8f58-4156-b08a-6a29a8afbee1) I'll take a closer look...

I tried to see if the results are improved by fitting a conic instead of a sphere : not really. I don't see an issue if we delete this to...

Closing this PR as the feature has been implemented in [PR#229](https://github.com/HarrisonKramer/optiland/pull/229).