Skip to content

Commit

Permalink
fix error in ATF example
Browse files Browse the repository at this point in the history
  • Loading branch information
brandondube committed Feb 9, 2020
1 parent 211c3b1 commit 1845894
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@
" idxs = list(range(max_zernike+1))\n",
" for i in idxs:\n",
" kwarg = {}\n",
" kwarg[f'Z{i}'] = rms_wfe\n",
" kwarg[f'Z{i+1}'] = rms_wfe\n",
" pupil = FringeZernike(**kwarg, norm=True, z_unit='waves') # waves is the default, not really needed\n",
" psf = PSF.from_pupil(pupil, efl=2) # normalized frequency makes this choice arbitrary\n",
" mtf = MTF.from_psf(psf)\n",
Expand Down Expand Up @@ -292,7 +292,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.4"
"version": "3.7.6"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 1845894

Please sign in to comment.