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
I suggest adding newsize and Nnew as optional parameters to the Fresnel and Forvard methods.
They would by used to call Interpol within the function.
This would make the three main integration methods homogeneous in terms of arguments.
I have implemented this in my own code, to be able to switch between methods, by changing the values of a Methods dictionary/list defined at the beginning of my script. Indeed, it is often the case that we have to change the method depending on the conditions (focusing or not, long or short propagation distance, etc.)
besides, this would not be shocking as other LightPipes function already integrate coordinate changes, LendForvard for instance that uses spherical coordinates.
The text was updated successfully, but these errors were encountered:
Hi guys,
I suggest adding
newsize
andNnew
as optional parameters to theFresnel
andForvard
methods.They would by used to call Interpol within the function.
This would make the three main integration methods homogeneous in terms of arguments.
I have implemented this in my own code, to be able to switch between methods, by changing the values of a Methods dictionary/list defined at the beginning of my script. Indeed, it is often the case that we have to change the method depending on the conditions (focusing or not, long or short propagation distance, etc.)
besides, this would not be shocking as other LightPipes function already integrate coordinate changes, LendForvard for instance that uses spherical coordinates.
The text was updated successfully, but these errors were encountered: