Commit Graph
11 Commits
Author SHA1 Message Date
edoardo f6fd791fff general testing of parameters. Regarding metaprop_fibermode_doublet, the spatial sampling has been fixed and the grid size is controlled by the number of pixels. I have seen that the mask-mask and mask-output plane distance is crucial and should not be chosen randomly, at the moment i have tested empirically some dimensions. The parameters in this commit seem to work ok, but we need to understand. Then, intensity conversation is still an issue, since the pattern at the output has 95/100, meaning 5/100 is lost somewhere. We really need to understand if this is an issue or not. With these settings, we might want to increase the window size, but then see the next point. I have introduced boundary boxes on phase masks, this is to avoid the algorithm using pixels that are clearly outside and only see noise. If we extend the simulation domain, we ought to extend these boundaries, otherwise the issue will present itself again. For what pixelation is concerned, honestly i expected worse, though there is still the need to apply some kind of filter to eradicate spurious single pixels. That should be doable using autograd, since the heavylifting is done by the adjoint, using autograd just for the filter part should not require too much computing effort. This needs to be tested. 2026-06-19 17:17:45 +02:00
edoardo 1668de238d changing the grid system requires using a larger beamwaist for the input field. Effectively, the larger beam incides onto a larger number of unit-cells 2026-06-18 21:00:51 +02:00
edoardo 5e7ad710ba params. fix 2026-06-18 17:44:01 +02:00
edoardo a008cada72 more testing on grid size and propagation distances 2026-06-18 17:39:32 +02:00
edoardo b7271ffdf9 increasing domain size for testing 2026-06-18 14:04:06 +02:00
edoardo e275ea610b parameter change for testing 2026-06-18 11:48:30 +02:00
edoardo 24f3f24e5d code improvements and cleanup after introducing fftw 2026-06-18 10:45:31 +02:00
edoardo dee7bc9c8f fixed variable names 2026-06-17 14:18:31 +02:00
edoardo a87258a9c5 testing pyfftw 2026-06-17 13:49:25 +02:00
edoardo 93be0f6954 added timestamps for evaluation 2026-06-17 10:43:26 +02:00
edoardo e5ae6f6cf2 added metaprop_fibermode_doublet.py which implements the angular spectrum method, together with the adjoint formulation to simulate a metasurface doublet 2026-06-17 08:36:08 +02:00