Proposed new feature or change:
Currently Lentil implicitly operates in ij (matrix-style) indexing with the exception of tilt-handling. It would be nice to explicitly support both ij and xy (Cartesian-style) indexing everywhere. The default should stay ij and tilt should adopt this default as well.
This will be a fairly extensive enhancement that will touch many parts of the code. At a minimum, the following classes and methods should be extended:
Core objects
- Plane
- Pupil
- Image
- Tilt
- DispersiveTilt
- Wavefront
Propagation
- propagate_dft
- propagate_fft
Zernikes
- zernike
- zernike_compose
- zernike_fit
- zernike_remove
- zernike_basis
- zernike_coordinates
Proposed new feature or change:
Currently Lentil implicitly operates in
ij(matrix-style) indexing with the exception of tilt-handling. It would be nice to explicitly support bothijandxy(Cartesian-style) indexing everywhere. The default should stayijand tilt should adopt this default as well.This will be a fairly extensive enhancement that will touch many parts of the code. At a minimum, the following classes and methods should be extended:
Core objects
Propagation
Zernikes