{"id":1669,"date":"2016-08-30T10:33:31","date_gmt":"2016-08-30T17:33:31","guid":{"rendered":"https:\/\/live-optics-wp.pantheonsite.io\/milster\/?page_id=1669"},"modified":"2016-11-03T09:44:56","modified_gmt":"2016-11-03T16:44:56","slug":"source-type-panel","status":"publish","type":"page","link":"https:\/\/wp.optics.arizona.edu\/milster\/resources\/optiscan-simulation-program\/optiscan-help-desk\/index\/source-type-panel\/","title":{"rendered":"Source Type Panel"},"content":{"rendered":"<p>The <em>Source Type Panel<\/em> allows the user to select the desired source type and specify the source&#8217;s value for LAMBDA.<\/p>\n<hr \/>\n<h3>Choosing the Source Type :<\/h3>\n<p>The <em>Choose Source Type<\/em> portion of the Source Type Panel allows the user to specify the desired type of source:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1432\" src=\"https:\/\/wp.optics.arizona.edu\/milster\/wp-content\/uploads\/sites\/48\/2016\/08\/sourcetype_panel.choose_source_type.gif\" alt=\"sourcetype_panel.choose_source_type\" width=\"510\" height=\"135\" data-id=\"1432\" \/><\/p>\n<h4>Coherent<\/h4>\n<p>The field shown in the source viewer is a coherent field.<\/p>\n<h4>Incoherent<\/h4>\n<p>The field shown in the source viewer is an incoherent field. That is, the brightness as shown in the viewer is a collection of independent source points that are treated as individual emitters in the propagation calculations. The brightness of each point as shown in the viewer describes the relative brightness of each point in relation to the other source points.<\/p>\n<p>To calculate the light pattern resulting from an incoherent source, OPTISCAN calculates the operation of objects in the chain on the field from each source point. The number of source points used is selectable in the edit box as described below. The position of the source points is randomly chosen from the nonzero distribution shown in the viewer.<\/p>\n<p>When you select <em>Incoherent<\/em>, you are allowed to enter the number of source points and the base index.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1434\" src=\"https:\/\/wp.optics.arizona.edu\/milster\/wp-content\/uploads\/sites\/48\/2016\/08\/sourcetype_panel.incoherent.gif\" alt=\"sourcetype_panel.incoherent\" width=\"453\" height=\"56\" data-id=\"1434\" \/><\/p>\n<p>The <em>Sampling Style<\/em> determines how Incoherent Source points are generated:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1436\" src=\"https:\/\/wp.optics.arizona.edu\/milster\/wp-content\/uploads\/sites\/48\/2016\/08\/sourcetype_panel.sampling_style.gif\" alt=\"sourcetype_panel.sampling_style\" width=\"145\" height=\"70\" data-id=\"1436\" \/><\/p>\n<p>If the sampling style is &#8220;<em>random<\/em>,&#8221; then OPTISCAN will randomly choose &#8220;<em>N Source Points<\/em>&#8221; without replacement from the X, Y, and Z components of the input field. The non-zero values of the resulting selection are used as incoherent source points.<\/p>\n<p>If the sampling style is &#8220;<em>grid<\/em>,&#8221; then OPTISCAN will select <strong>grid^2<\/strong> points by forming new ordinate and abcissa vectors as shown:<\/p>\n<p style=\"text-align: center;\"><em>sysxvec<\/em> = linspace(min(<em>sysxvec<\/em>), max(<em>sysxvec<\/em>), <strong>grid<\/strong>);<br \/>\n<em>sysyvec<\/em> = linspace(min(<em>sysyvec<\/em>), max(<em>sysyvec<\/em>), <strong>grid<\/strong>);<\/p>\n<p>Interpolation is then used to determine <strong>grid^2<\/strong> values. The non-zero values of the resulting interpolation are then used as incoherent source points.<\/p>\n<p>The base index is used with the save and restore fields objects. The <em>source point files<\/em> are numbered as follows:<\/p>\n<p style=\"text-align: center;\">source_point.1000.mat<br \/>\nsource_point.1001.mat<br \/>\nsource_point.1002.mat<br \/>\netc&#8230;<\/p>\n<p>The number scheme is: <em>IncoherentBaseIndex + ii<\/em>, where <em>ii<\/em> = 0:(<em>NSourcePoints<\/em>-1).<\/p>\n<p><strong>See Also:<\/strong> <a href=\"https:\/\/wp.optics.arizona.edu\/milster\/resources\/optiscan-simulation-program\/optiscan-help-desk\/index\/fields-panel\/\">Save and Restore Fields Filenames<\/a><\/p>\n<h4>Partially Coherent<\/h4>\n<p>Not Implemented Yet.<\/p>\n<h4>Babinet<\/h4>\n<p>Not Implemented Yet.<\/p>\n<hr \/>\n<h3>Specifying the Value for Lambda:<\/h3>\n<p>The <em>Source&#8217;s Lambda<\/em> portion of the <em>Source Type Panel<\/em> allows the user to specify the source&#8217;s wavelength, <em>LAMBDA<\/em>:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1435\" src=\"https:\/\/wp.optics.arizona.edu\/milster\/wp-content\/uploads\/sites\/48\/2016\/08\/sourcetype_panel.lambda.gif\" alt=\"sourcetype_panel.lambda\" width=\"608\" height=\"84\" data-id=\"1435\" \/><\/p>\n<p>If the <em>Update Simulator&#8217;s LAMBDA With This One<\/em> check-box is a checked, then the <em>Optiscan Simulation Engine<\/em> will update the value <em>LAMBDA<\/em> used in its calculations with the one specified. If the<em> Update Simulator&#8217;s LAMBDA With This One<\/em> check-box is not checked, then the <em>Optiscan Simulation Engine<\/em> will not update the value of <em>LAMBDA<\/em>; Instead, the simulator&#8217;s current value for <em>LAMBDA<\/em> will be retained.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Source Type Panel allows the user to select the desired source type and specify the source&#8217;s value for LAMBDA. Choosing the Source Type : The Choose Source Type portion of the Source Type Panel allows the user to specify the desired type of source: Coherent The field shown in the source viewer is a coherent field. Incoherent The field<\/p>\n","protected":false},"author":3,"featured_media":0,"parent":894,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1669","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/wp.optics.arizona.edu\/milster\/wp-json\/wp\/v2\/pages\/1669","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.optics.arizona.edu\/milster\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/wp.optics.arizona.edu\/milster\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/wp.optics.arizona.edu\/milster\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.optics.arizona.edu\/milster\/wp-json\/wp\/v2\/comments?post=1669"}],"version-history":[{"count":3,"href":"https:\/\/wp.optics.arizona.edu\/milster\/wp-json\/wp\/v2\/pages\/1669\/revisions"}],"predecessor-version":[{"id":1965,"href":"https:\/\/wp.optics.arizona.edu\/milster\/wp-json\/wp\/v2\/pages\/1669\/revisions\/1965"}],"up":[{"embeddable":true,"href":"https:\/\/wp.optics.arizona.edu\/milster\/wp-json\/wp\/v2\/pages\/894"}],"wp:attachment":[{"href":"https:\/\/wp.optics.arizona.edu\/milster\/wp-json\/wp\/v2\/media?parent=1669"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}