Skip to content

ENH: Support both ij and xy array indexing schemes #63

Description

@andykee

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions