Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BscPmParaxial.m #36

Open
AStilg opened this issue Jan 22, 2019 · 7 comments
Open

BscPmParaxial.m #36

AStilg opened this issue Jan 22, 2019 · 7 comments

Comments

@AStilg
Copy link

AStilg commented Jan 22, 2019

RE: Our previous conversation, can you add the ability to override he fit points. This will be helpful for people calculating simple SLM beams which may not need many fit points.

@EternalRaininNovember
Copy link

Can someone explain how BscPmParaxial spreads field to focal plane and calculate expansion coefficients? I don't have any idea.

@AStilg
Copy link
Author

AStilg commented May 26, 2024

It fits the beam shape coefficients "at infinite" distance from the focus. This means that the input is in the Fourier space of the microscope. Any feature there is in the units of wavenumber, k. This works because at sufficiently large distances the vector field is essentially 2D and thus the paraxial problem simply maps into it. The near field (focal plane) is evaluated directly from weighted sums of the vector spherical wavefunctions.

This function is intended model the effect of a field produced from a device such as a spatial light modulator. This would ordinarily be mapped to the back-focal-plane of the microscope and that's what this class processes.

I what you want is a particular paraxial beam mode, BscPmGauss may be better for you. It has Laguerre--Gaussian, Hermite--Gaussian, and Ince--Gausian beams built in with the ability to change their fill factor.

@EternalRaininNovember
Copy link

Thanks for the quick response. But I still don't understand how exactly this method works. What is the physical meaning of "tan theta scaling, thin lens appropriate"? For example, in VOLPE it is written that field propagation can be done using a simple Fourier transform. what's the approach here?

@AStilg
Copy link
Author

AStilg commented May 27, 2024

The fit implicitly results in a Fourier 3D vector field transformation. It will be equivalent to performing the Fourier transform on all three vector components, but assuming they are mapped onto some surface. The thin-lens approximation is that the surface is a flat sheet. For a high-NA "real" lens it is, by design, the surface is a solid angle cut out of a sphere (perhaps with some amplitude modulation towards the edges).

@EternalRaininNovember
Copy link

Can you please explain in detail why it is "equivalent to performing the Fourier transform on all three vector components, but assuming they are mapped onto some surface"? Or can you share source of literature in which this is described?

Honestly speaking, I want to comprehend how it's work.
What is "wscaling" (BscPmParaxial, 168)?
Why in 242,243 lines do use sign(cos(theta))? not just cos(theta)?
"Et=(sign(cos(theta)).*cos(phi).*Ex_toolbox+sign(cos(theta)).*sin(phi).*Ey_toolbox);
Ep=(-sin(phi).*Ex_toolbox+cos(phi).*Ey_toolbox);"

image

@AStilg
Copy link
Author

AStilg commented May 27, 2024

The radiation is far enough away at it can be considered as being a 2D vector field projected from the surface of the sphere. If the field were paraxial, it has no associated "z" field. This is the heart of the assumption. We have a collimated paraxial beam with x and y polarisation entering an optical system from "a long distance away".

The idea is not limited to the problem solved by the toolbox. It also applies to microscopes more generally:

Abbe, E., Hon. (1881), VII.—On the Estimation of Aperture in the Microscope.. Journal of the Royal Microscopical Society, 1: 388-423. https://doi.org/10.1111/j.1365-2818.1881.tb05909.x

It's worth a read, the important part can be found, pp. 393. If you don't have access look for "Abbe sine condition". By default the toolbox assumes a thin lens formulation. However, I found that with the microscopes we use in the lab I get the best match using the sine condition. The default is 'tantheta' because that's what the first version used.

@AStilg
Copy link
Author

AStilg commented May 27, 2024

  • "wscaling" (BscPmParaxial, 168)? It controls the beam fit to the back aperture. By default it is tuned to achieve 1/exp(2) peak power at the edge of the aperture.
  • Why in 242,243 lines do use sign(cos(theta))? not just cos(theta)? See "Abbe sine condition".
    The equations:
    "Et=(sign(cos(theta)).*cos(phi).*Ex_toolbox+sign(cos(theta)).*sin(phi).*Ey_toolbox);
    Ep=(-sin(phi).*Ex_toolbox+cos(phi).*Ey_toolbox);"
    follow from that reasoning.

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

No branches or pull requests

2 participants