A program in Python to generate, evaluate, and visualize Zernike polynomials, a family of orthogonal polynomials over the unit disk.
% python bin/menu.py
This command will display the menu:
Notebook Menu
1. Configure Notebook
2. Add Polynomial
3. Plot Polynomial
4. Compare 2-D and 3-D plots
5. Quit
Choose 2. Add Polynomial and enter an n value of 4, and m value of 2.
Notebook Menu
1. Configure Notebook
2. Add Polynomial
3. Plot Polynomial
4. Compare 2-D and 3-D plots
5. Quit
Polynomials in Notebook
-----------------------
Enter an option: 2
Enter an n value: 4
Enter an m value: 2
Added a new polynomial.
Choose 4. Compare 2-D and 3-D plots. Enter (N), then (Y) to show but not save a plot.