LiberTEM / nexus-4dstem

MIT License
2 stars 1 forks source link

Mathematical formalism for optical system of an electron microscope #5

Open uellue opened 5 years ago

uellue commented 5 years ago

https://en.wikipedia.org/wiki/Ray_transfer_matrix_analysis is a good start. However, it only captures radial symmetry. Electron optics are generally not symmetric. The following properties are desirable for a formalism:

Options:

uellue commented 5 years ago

Linear canonical transformation could be the formalism of choice that can handle near-field Fresnel diffraction, far-field Fraunhofer diffraction and any transitions inbetween using one formalism. It turns out that the expression for a lens in linear canonical transformation closely corresponds to a lens in matrix optics: https://en.wikipedia.org/wiki/Linear_canonical_transformation#Spherical_lens

Currently, NumPy doesn't have dedicated support for calculating such transformations. However, there has been recent work on this with the dedicated purpose of calculating optical systems: https://stacks.stanford.edu/file/druid:fq782pt6225/AykutKoc_PhD_Thesis-augmented.pdf

uellue commented 5 years ago

Polynomial expansion of ray transfer matrices should correspond to the "differential algebra method". Having several optical elements after each other corresponds to composition of polynomials, which yields higher-order polynomials. For that reason, rays should be propagated step-by-step rather than trying to combine operators if non-linear aberrations are to be considered.

Proposed four operation modes that use the same parameters:

1) Linear approximation using ray transfer matrices. This can yield operators that are suitable to do very fast transformations and to easily solve equation systems, such as finding focal points etc.

2) Non-linear step-wise ray propagation with all aberrations. Solving will require a numerical solver / optimizer.

3) Fast wave propagation using the linear operator, likely a single-step linear canonical transform.

4) Exact step-wise wave propagation, including all aberrations. This will likely resemble image simulation as it is used for samples.

Question: How to handle apertures? No representation per se in matrix optics since they are not linear. However, matrix optics can be used to project apertures along the optical system -- as pixmaps or by projecting vertices of vector shapes. They are essential for wave optics, that means they should be handled in a fashion that is intuitive, flexible and correct.

Additional functionality: Numerically optimize a single-step polynomial based on the individual elements to do fast ray transfer and/or wave propagation? In case of wave propagation, this could look like a "virtual Schmidt corrector plate" as an aperture, defined by the resulting polynomial?

uellue commented 5 years ago

Relation to other software or methods: A full physics simulation with a suitable method can yield point-to-point mappings of beams going in and going out of an optical element. Those can be used to calculate the coefficients of the matrices using numerical optimization. That should make them easier to use in practical applications and less critical in terms of IP since they only contain the information what the microscope does and not how.

uellue commented 7 months ago

@davidlanders95 that's the one!