Commit 4fcb3a8633e49611cc17902102821049174b683f
1 parent
b8b15cb8
added comments for example_psflayer function
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
python/optics.py
@@ -722,7 +722,8 @@ def example_layer(): | @@ -722,7 +722,8 @@ def example_layer(): | ||
722 | plt.subplot(1, 4, 4) | 722 | plt.subplot(1, 4, 4) |
723 | plt.imshow(I, extent=(D[3], D[2], D[1], D[0])) | 723 | plt.imshow(I, extent=(D[3], D[2], D[1], D[0])) |
724 | plt.title("I") | 724 | plt.title("I") |
725 | - | 725 | + |
726 | +# simulate a PSF incident on a 2-layered sample | ||
726 | def example_psflayer(): | 727 | def example_psflayer(): |
727 | #specify the angle of accepted waves (NA if n = 1) | 728 | #specify the angle of accepted waves (NA if n = 1) |
728 | sin_angle = 0.7 | 729 | sin_angle = 0.7 |