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
Decreasing the number of pixels per microlens to an even number instead of an odd number caused a large volume shape to be needed. For a 13x13 microlens array and a volume shape of [11, 25, 25], the following number of pixels per microlens worked and did not work:
IndexError: Cumulative Jones Matrix computation failed. Index out of bounds: Attempted to access Delta_n at index [9, 3, 25], but this is outside the valid range of Delta_n's shape (11, 25, 25).
Note that increasing the volume shape to [11, 27, 27] allowed using 16 pixels per microlens.
It could make sense to have the effective lenslet radius be determined by the number of pixels per microlens. Currently the radius is fixed to be 7.5, acting as the aperture.
Description
Decreasing the number of pixels per microlens to an even number instead of an odd number caused a large volume shape to be needed. For a 13x13 microlens array and a volume shape of [11, 25, 25], the following number of pixels per microlens worked and did not work:
good: <=13, 15, 17, 19, 21, 23
bad: 14, 16, 18, 20, 22
Note that increasing the volume shape to [11, 27, 27] allowed using 16 pixels per microlens.
It could make sense to have the effective lenslet radius be determined by the number of pixels per microlens. Currently the radius is fixed to be 7.5, acting as the aperture.
Screenshots
"pixels_per_ml": 10
"pixels_per_ml": 17
"pixels_per_ml": 23
Files
To Reproduce
Use the following optical_info and modify the
pixels_per_ml
:for a forward simulation ray tracing through any volume of shape [11, 25, 25].
Tasks
The text was updated successfully, but these errors were encountered: