{"id":64,"date":"2016-06-14T13:29:18","date_gmt":"2016-06-14T20:29:18","guid":{"rendered":"https:\/\/live-optics-wp.pantheonsite.io\/milster\/?page_id=64"},"modified":"2016-06-14T14:31:15","modified_gmt":"2016-06-14T21:31:15","slug":"user-notes","status":"publish","type":"page","link":"https:\/\/wp.optics.arizona.edu\/milster\/resources\/optiscan-simulation-program\/optiscan-help-desk\/user-notes\/","title":{"rendered":"User Notes"},"content":{"rendered":"<ul>\n<li>In Matlab 6.0, arranging objects (clicking and dragging) can create a trail across the workspace. The simplest way to get rid of these trails is to minimize and restore the project workspace window.<\/li>\n<li>When using the FRESNEL option for exit-pupil-to-target in the LENS Propagation Panel, the value of NFRESNEL must be greater than 2x NPupil.<br \/>\nThe value of NPupil is set in the SAMPLING panel in the LENS object.<\/li>\n<li>When scanning across a target the scan window range should not exceed the target boundaries<\/li>\n<\/ul>\n<p><strong>Saving data in MOP&#8217;s: <\/strong><\/p>\n<p>Here is an example of how to save data in MOP&#8217;s:<\/p>\n<p>If you want to save the value of the variable named &#8216;Ext&#8217; to a file named spot.mat in the userdata directory insert this code into your script:<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-65\" src=\"http:\/\/wp.optics.arizona.edu\/milster\/wp-content\/uploads\/sites\/48\/2016\/06\/save.jpg\" alt=\"save\" width=\"420\" height=\"32\" data-id=\"65\" srcset=\"https:\/\/wp.optics.arizona.edu\/milster\/wp-content\/uploads\/sites\/48\/2016\/06\/save.jpg 420w, https:\/\/wp.optics.arizona.edu\/milster\/wp-content\/uploads\/sites\/48\/2016\/06\/save-300x23.jpg 300w\" sizes=\"auto, (max-width: 420px) 100vw, 420px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>When you want to load that variable from the file and use it again, use this code:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-68\" src=\"http:\/\/wp.optics.arizona.edu\/milster\/wp-content\/uploads\/sites\/48\/2016\/06\/load.jpg\" alt=\"load\" width=\"420\" height=\"31\" data-id=\"68\" srcset=\"https:\/\/wp.optics.arizona.edu\/milster\/wp-content\/uploads\/sites\/48\/2016\/06\/load.jpg 420w, https:\/\/wp.optics.arizona.edu\/milster\/wp-content\/uploads\/sites\/48\/2016\/06\/load-300x22.jpg 300w\" sizes=\"auto, (max-width: 420px) 100vw, 420px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Known Bug<\/strong><\/p>\n<p>When closing viewer windows the following error sometimes appears. This error is harmless and can be ignored.<\/p>\n<blockquote><p>??? Error using ==&gt; set<br \/>\nInvalid object handle.<\/p>\n<p>Error in ==&gt; C:\\MATLAB6p5\\toolbox\\matlab\\graph3d\\colorbar.m<br \/>\nOn line 208 ==&gt; set(gcf,&#8217;currentaxes&#8217;,GCA);<br \/>\n??? Error using ==&gt; delete<br \/>\nError while evaluating text DeleteFcn.<\/p><\/blockquote>\n<p><a href=\"http:\/\/wp.optics.arizona.edu\/milster\/resources\/optiscan-simulation-program\/optiscan-help-desk\/\">&lt;&lt; Back to OptiScan Help Desk<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In Matlab 6.0, arranging objects (clicking and dragging) can create a trail across the workspace. The simplest way to get rid of these trails is to minimize and restore the project workspace window. When using the FRESNEL option for exit-pupil-to-target in the LENS Propagation Panel, the value of NFRESNEL must be greater than 2x NPupil. The value of NPupil is<\/p>\n","protected":false},"author":3,"featured_media":0,"parent":57,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-64","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/wp.optics.arizona.edu\/milster\/wp-json\/wp\/v2\/pages\/64","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=64"}],"version-history":[{"count":4,"href":"https:\/\/wp.optics.arizona.edu\/milster\/wp-json\/wp\/v2\/pages\/64\/revisions"}],"predecessor-version":[{"id":70,"href":"https:\/\/wp.optics.arizona.edu\/milster\/wp-json\/wp\/v2\/pages\/64\/revisions\/70"}],"up":[{"embeddable":true,"href":"https:\/\/wp.optics.arizona.edu\/milster\/wp-json\/wp\/v2\/pages\/57"}],"wp:attachment":[{"href":"https:\/\/wp.optics.arizona.edu\/milster\/wp-json\/wp\/v2\/media?parent=64"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}