{"id":1822,"date":"2018-03-14T15:13:15","date_gmt":"2018-03-14T06:13:15","guid":{"rendered":"http:\/\/research.itplants.com\/?p=1822"},"modified":"2018-03-14T15:13:15","modified_gmt":"2018-03-14T06:13:15","slug":"poppy-physical-optics-propagation-in-python","status":"publish","type":"post","link":"https:\/\/research.itplants.com\/?p=1822","title":{"rendered":"POPPY( Physical Optics Propagation in Python)"},"content":{"rendered":"<p>\u9762\u767d\u305d\u3046\u306aAPI\u3092\u898b\u3064\u3051\u307e\u3057\u305f\u3002python\u3067\u3001\u30d5\u30ec\u30cd\u30eb\u56de\u6298\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\uff08Fraunhofer and Fresnel diffraction\uff09\u304c\u3067\u304d\u308b\u3088\u3046\u3067\u3059\u3002<a href=\"https:\/\/github.com\/mperrin\/poppy\">POPPY<\/a>\u306f\u3001<a href=\"https:\/\/ja.wikipedia.org\/wiki\/\u30b8\u30a7\u30a4\u30e0\u30ba\u30fb\u30a6\u30a7\u30c3\u30d6\u5b87\u5b99\u671b\u9060\u93e1\">\u30b8\u30a7\u30a4\u30e0\u30ba\u30fb\u30a6\u30a7\u30c3\u30d6\u5b87\u5b99\u671b\u9060\u93e1<\/a>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u7814\u7a76\u3055\u308c\u305f\u3082\u306e\u3060\u305d\u3046\u3067\u3059\u3002<\/p>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u3001<a href=\"http:\/\/poppy-optics.readthedocs.io\/en\/stable\/installation.html\">\u3053\u3053\u3092\u53c2\u7167<\/a>\u3057\u3066\u304f\u3060\u3055\u3044\u3002Jupyter notebook\u3067\u52d5\u4f5c\u3059\u308b\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u304c\u4ed8\u3044\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<p><code><br \/>\nosys = poppy.OpticalSystem()<br \/>\n# \u958b\u53e3\u534a\u5f84\uff08\u30e1\u30fc\u30c8\u30eb\u5358\u4f4d\uff09<br \/>\nosys.add_pupil( poppy.CircularAperture(radius=3*u.m<br \/>\n# \u30b9\u30af\u30ea\u30fc\u30f3\u5ea7\u6a19 arcseconds<br \/>\nosys.add_detector(pixelscale=0.010, fov_arcsec=5.0)<br \/>\n# \u6ce2\u9577\u30002nm<br \/>\npsf = osys.calc_psf(2e-6)<br \/>\npoppy.display_PSF(psf, title='The Airy Function')<br \/>\n<\/code><br \/>\n<a href=\"https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/03\/example_airy.png\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-1823\" src=\"https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/03\/example_airy.png\" alt=\"\" width=\"600\" height=\"400\" srcset=\"https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/03\/example_airy.png 600w, https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/03\/example_airy-300x200.png 300w, https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/03\/example_airy-320x213.png 320w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>\u3053\u308c\u3060\u3051\u3067\u3001<a href=\"https:\/\/ja.wikipedia.org\/wiki\/\u30a8\u30a2\u30ea\u30fc\u30c7\u30a3\u30b9\u30af\">\u30a8\u30a2\u30ea\u30fc\u30c7\u30a3\u30b9\u30af<\/a>\u304c\u8a08\u7b97\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>Jupiter notebook\u306e\u30b5\u30f3\u30d7\u30eb\u306b\u306f\u3001\u30d5\u30ec\u30cd\u30eb\u56de\u6298\u304c\u3042\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\uff15\uff10\uff43\uff4d\u306e\u5149\u30922.5cm\u53e3\u5f84\u306e\u30ec\u30f3\u30ba\u304b\u3089\u5c04\u51fa\u3057\u3066\u30015m\u5148\u306e\u5149\u675f\u65ad\u9762\uff08\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\uff09\u304c\u63cf\u753b\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<p><code><br \/>\nwf = poppy.FresnelWavefront(0.5*u.m,wavelength=2200e-9,npix=npix,oversample=4)<br \/>\nwf *= poppy.CircularAperture(radius=2.5*u.cm)<\/code><\/p>\n<p>plt.figure(figsize=(12,5))<br \/>\nwf.display(&#8216;both&#8217;,colorbar=True, showpadding=True)<br \/>\nplt.suptitle(&#8220;Entrance Pupil&#8221;, fontsize=18)<\/p>\n<p>z = 5.0*u.m<br \/>\nwf.propagate_fresnel(z)<\/p>\n<p><a href=\"https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/03\/Unknown.png\" data-rel=\"lightbox-image-1\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-1825\" src=\"https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/03\/Unknown.png\" alt=\"\" width=\"717\" height=\"339\" srcset=\"https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/03\/Unknown.png 717w, https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/03\/Unknown-300x142.png 300w, https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/03\/Unknown-320x151.png 320w\" sizes=\"(max-width: 717px) 100vw, 717px\" \/><\/a> <a href=\"https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/03\/Unknown-1.png\" data-rel=\"lightbox-image-2\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-1826\" src=\"https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/03\/Unknown-1.png\" alt=\"\" width=\"717\" height=\"339\" srcset=\"https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/03\/Unknown-1.png 717w, https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/03\/Unknown-1-300x142.png 300w, https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/03\/Unknown-1-320x151.png 320w\" sizes=\"(max-width: 717px) 100vw, 717px\" \/><\/a> <a href=\"https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/03\/Unknown-2.png\" data-rel=\"lightbox-image-3\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-1827\" src=\"https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/03\/Unknown-2.png\" alt=\"\" width=\"724\" height=\"333\" srcset=\"https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/03\/Unknown-2.png 724w, https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/03\/Unknown-2-300x138.png 300w, https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/03\/Unknown-2-320x147.png 320w\" sizes=\"(max-width: 724px) 100vw, 724px\" \/><\/a><\/p>\n<p>\u56de\u6298\u304c\u8a08\u7b97\u3067\u304d\u308b\u306e\u3067\u3001\u975e\u56de\u6298\u30d3\u30fc\u30e0\u306b\u306a\u308b\u6761\u4ef6\u3092\u898b\u3064\u3051\u308b\u3053\u3068\u3082\u3067\u304d\u305d\u3046\u3067\u3059\u3002\u3061\u306a\u307f\u306b\u3001\u30ac\u30a6\u30b7\u30a2\u30f3\u30d3\u30fc\u30e0\u306e\u5834\u5408\u306b\u306f\u3001\u30d3\u30fc\u30e0\u30a6\u30a8\u30b9\u30c8\u304c\u6c7a\u307e\u308b\u3060\u3051\u3067\u3001\u7279\u5225\u306a\u56de\u6298\u306f\u8d77\u304d\u307e\u305b\u3093\u3002<a href=\"https:\/\/www.google.co.jp\/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=web&amp;cd=1&amp;ved=0ahUKEwiB08r0kuvZAhVFbbwKHQdNBFQQFggoMAA&amp;url=http%3A%2F%2Fwww.newport-japan.jp%2Fpdf%2Ftechnical%2F1416.pdf&amp;usg=AOvVaw1OTU2Wnh4ptv_x4Z6w_gmy\">\u3053\u3061\u3089\u306e\u8cc7\u6599<\/a>\u306b\u8a73\u3057\u304f\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u9762\u767d\u305d\u3046\u306aAPI\u3092\u898b\u3064\u3051\u307e\u3057\u305f\u3002python\u3067\u3001\u30d5\u30ec\u30cd\u30eb\u56de\u6298\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\uff08Fraunhofer and Fresnel diffraction\uff09\u304c\u3067\u304d\u308b\u3088\u3046\u3067\u3059\u3002POPPY\u306f\u3001\u30b8\u30a7\u30a4\u30e0\u30ba\u30fb\u30a6\u30a7\u30c3\u30d6\u5b87\u5b99\u671b\u9060\u93e1\u30d7\u30ed\u30b8\u30a7\u30af&#8230;<\/p>\n<p><a class=\"more\" href=\"https:\/\/research.itplants.com\/?p=1822\"> Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":1823,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/research.itplants.com\/index.php?rest_route=\/wp\/v2\/posts\/1822"}],"collection":[{"href":"https:\/\/research.itplants.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/research.itplants.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/research.itplants.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/research.itplants.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1822"}],"version-history":[{"count":2,"href":"https:\/\/research.itplants.com\/index.php?rest_route=\/wp\/v2\/posts\/1822\/revisions"}],"predecessor-version":[{"id":1828,"href":"https:\/\/research.itplants.com\/index.php?rest_route=\/wp\/v2\/posts\/1822\/revisions\/1828"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/research.itplants.com\/index.php?rest_route=\/wp\/v2\/media\/1823"}],"wp:attachment":[{"href":"https:\/\/research.itplants.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1822"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/research.itplants.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1822"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/research.itplants.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1822"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}