{"id":1847,"date":"2016-08-30T14:23:18","date_gmt":"2016-08-30T21:23:18","guid":{"rendered":"https:\/\/live-optics-wp.pantheonsite.io\/milster\/?page_id=1847"},"modified":"2016-11-03T09:55:56","modified_gmt":"2016-11-03T16:55:56","slug":"scalar-delta-variables","status":"publish","type":"page","link":"https:\/\/wp.optics.arizona.edu\/milster\/resources\/optiscan-simulation-program\/optiscan-help-desk\/index\/scalar-delta-variables\/","title":{"rendered":"Scalar Delta Variables"},"content":{"rendered":"<p>The scalar description describes what the variable is used for:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1147\" src=\"https:\/\/wp.optics.arizona.edu\/milster\/wp-content\/uploads\/sites\/48\/2016\/08\/easydelta_panel_scalar_description.jpg\" alt=\"easydelta_panel_scalar_description\" width=\"381\" height=\"49\" data-id=\"1147\" srcset=\"https:\/\/wp.optics.arizona.edu\/milster\/wp-content\/uploads\/sites\/48\/2016\/08\/easydelta_panel_scalar_description.jpg 381w, https:\/\/wp.optics.arizona.edu\/milster\/wp-content\/uploads\/sites\/48\/2016\/08\/easydelta_panel_scalar_description-300x39.jpg 300w\" sizes=\"auto, (max-width: 381px) 100vw, 381px\" \/><\/p>\n<hr \/>\n<h3>Scalar Value:<\/h3>\n<p>A <em>Scalar Value<\/em> starts at &#8220;<em>Initial Value<\/em>&#8221; for the first calculation and it is incremented by &#8220;<em>Step Value<\/em>&#8221; in each subsequent calculation.<\/p>\n<p>For example, if the <em>Initial Value<\/em> is 1 and the<em> Step Value<\/em> is 1, then the series &#8220;1,2,3,4,5,6&#8230;&#8221; would be generated.<\/p>\n<p>The <em>Modulo Count<\/em> is used to determine when the series should be reset. For example, if the <em>Modulo Count<\/em> is set to two, the series: 1,2,1,2,1,2 would be generated.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1148\" src=\"https:\/\/wp.optics.arizona.edu\/milster\/wp-content\/uploads\/sites\/48\/2016\/08\/easydelta_panel_scalar_options1.jpg\" alt=\"easydelta_panel_scalar_options1\" width=\"386\" height=\"160\" data-id=\"1148\" srcset=\"https:\/\/wp.optics.arizona.edu\/milster\/wp-content\/uploads\/sites\/48\/2016\/08\/easydelta_panel_scalar_options1.jpg 386w, https:\/\/wp.optics.arizona.edu\/milster\/wp-content\/uploads\/sites\/48\/2016\/08\/easydelta_panel_scalar_options1-300x124.jpg 300w\" sizes=\"auto, (max-width: 386px) 100vw, 386px\" \/><\/p>\n<hr \/>\n<h3>Value Vector:<\/h3>\n<p>A <em>Value Vector<\/em> is a vector of values which specifies the exact values for the <em>Delta Parameter<\/em>:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1149\" src=\"https:\/\/wp.optics.arizona.edu\/milster\/wp-content\/uploads\/sites\/48\/2016\/08\/easydelta_panel_scalar_options2.jpg\" alt=\"easydelta_panel_scalar_options2\" width=\"383\" height=\"158\" data-id=\"1149\" srcset=\"https:\/\/wp.optics.arizona.edu\/milster\/wp-content\/uploads\/sites\/48\/2016\/08\/easydelta_panel_scalar_options2.jpg 383w, https:\/\/wp.optics.arizona.edu\/milster\/wp-content\/uploads\/sites\/48\/2016\/08\/easydelta_panel_scalar_options2-300x124.jpg 300w\" sizes=\"auto, (max-width: 383px) 100vw, 383px\" \/><\/p>\n<p>In this illustration, the <em>Value Vector<\/em> contains two values: 2.5e-7 and 5.0e-7.<\/p>\n<p>Because <em>Modulo Count<\/em> is set to two, the values of the series would be:<\/p>\n<ul>\n<li>1st Value = 2.5e-7<\/li>\n<li>2nd Value = 5.0e-7<\/li>\n<li>3rd Value = 2.5e-7<\/li>\n<li>4th Value = 5.0e-7<\/li>\n<\/ul>\n<p>Hence, if the scalar was associated with the value of LAMBDA for a source, then the values for LAMBDA would be:<\/p>\n<ul>\n<li>1st LAMBDA Value = 2.5e-7<\/li>\n<li>2nd LAMBDA Value = 5.0e-7<\/li>\n<li>3rd LAMBDA Value = 2.5e-7<\/li>\n<li>4th LAMBDA Value = 5.0e-7<\/li>\n<\/ul>\n<hr \/>\n<h3>Monte Carlo &#8211; Uniform<\/h3>\n<p>Uniformly distributed random values within the specified range.<\/p>\n<h4>Using Objects Initial Value:<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1150\" src=\"https:\/\/wp.optics.arizona.edu\/milster\/wp-content\/uploads\/sites\/48\/2016\/08\/easydelta_panel_scalar_options3.1.jpg\" alt=\"easydelta_panel_scalar_options3.1\" width=\"383\" height=\"157\" data-id=\"1150\" srcset=\"https:\/\/wp.optics.arizona.edu\/milster\/wp-content\/uploads\/sites\/48\/2016\/08\/easydelta_panel_scalar_options3.1.jpg 383w, https:\/\/wp.optics.arizona.edu\/milster\/wp-content\/uploads\/sites\/48\/2016\/08\/easydelta_panel_scalar_options3.1-300x123.jpg 300w\" sizes=\"auto, (max-width: 383px) 100vw, 383px\" \/><\/p>\n<p>In this illustration the +\/- value is set to 1e-7 so if the object&#8217;s initial value is 5e-7, then during the simulation the variable would have uniformly distributed random values between 4e-7 and 6e-7<\/p>\n<h4>Using a Minimum and Maximum:<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1153\" src=\"https:\/\/wp.optics.arizona.edu\/milster\/wp-content\/uploads\/sites\/48\/2016\/08\/easydelta_panel_scalar_options4.2.jpg\" alt=\"easydelta_panel_scalar_options4.2\" width=\"384\" height=\"154\" data-id=\"1153\" srcset=\"https:\/\/wp.optics.arizona.edu\/milster\/wp-content\/uploads\/sites\/48\/2016\/08\/easydelta_panel_scalar_options4.2.jpg 384w, https:\/\/wp.optics.arizona.edu\/milster\/wp-content\/uploads\/sites\/48\/2016\/08\/easydelta_panel_scalar_options4.2-300x120.jpg 300w\" sizes=\"auto, (max-width: 384px) 100vw, 384px\" \/><\/p>\n<p>In this illustration the Minimum is set to 3e-7 and the Maximum is set to 5e-7 so during the simulation the variable will have uniformly distributed random values between 3e-7 and 5e-7<\/p>\n<hr \/>\n<h3>Monte Carlo &#8211; Gaussian<\/h3>\n<p>Random values with a gaussian curve for a histogram<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1154\" src=\"https:\/\/wp.optics.arizona.edu\/milster\/wp-content\/uploads\/sites\/48\/2016\/08\/histogram.jpg\" alt=\"histogram\" width=\"479\" height=\"380\" data-id=\"1154\" srcset=\"https:\/\/wp.optics.arizona.edu\/milster\/wp-content\/uploads\/sites\/48\/2016\/08\/histogram.jpg 479w, https:\/\/wp.optics.arizona.edu\/milster\/wp-content\/uploads\/sites\/48\/2016\/08\/histogram-300x238.jpg 300w\" sizes=\"auto, (max-width: 479px) 100vw, 479px\" \/><\/p>\n<h4>\nUsing the Object&#8217;s Initial Value for the Mean<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1152\" src=\"https:\/\/wp.optics.arizona.edu\/milster\/wp-content\/uploads\/sites\/48\/2016\/08\/easydelta_panel_scalar_options4.1.jpg\" alt=\"easydelta_panel_scalar_options4.1\" width=\"386\" height=\"155\" data-id=\"1152\" srcset=\"https:\/\/wp.optics.arizona.edu\/milster\/wp-content\/uploads\/sites\/48\/2016\/08\/easydelta_panel_scalar_options4.1.jpg 386w, https:\/\/wp.optics.arizona.edu\/milster\/wp-content\/uploads\/sites\/48\/2016\/08\/easydelta_panel_scalar_options4.1-300x120.jpg 300w\" sizes=\"auto, (max-width: 386px) 100vw, 386px\" \/><\/p>\n<p>In this illustration sigma is set to 1e-7 so if the object&#8217;s initial value is 5e-7, then during the simulation the variable will have Gaussian curve distributed random values with a mean of 5e-7 and a standard deviation of 1e-7<\/p>\n<h4>Specifying a Mean<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1153\" src=\"https:\/\/wp.optics.arizona.edu\/milster\/wp-content\/uploads\/sites\/48\/2016\/08\/easydelta_panel_scalar_options4.2.jpg\" alt=\"easydelta_panel_scalar_options4.2\" width=\"384\" height=\"154\" data-id=\"1153\" srcset=\"https:\/\/wp.optics.arizona.edu\/milster\/wp-content\/uploads\/sites\/48\/2016\/08\/easydelta_panel_scalar_options4.2.jpg 384w, https:\/\/wp.optics.arizona.edu\/milster\/wp-content\/uploads\/sites\/48\/2016\/08\/easydelta_panel_scalar_options4.2-300x120.jpg 300w\" sizes=\"auto, (max-width: 384px) 100vw, 384px\" \/><\/p>\n<p>In this illustration sigma is set to 1e-7 and the mean is set to 6e-7 so during the simulation the variable will have Gaussian curve distributed random values with a mean of 6e-7 and a standard deviation of 1e-7<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The scalar description describes what the variable is used for: Scalar Value: A Scalar Value starts at &#8220;Initial Value&#8221; for the first calculation and it is incremented by &#8220;Step Value&#8221; in each subsequent calculation. For example, if the Initial Value is 1 and the Step Value is 1, then the series &#8220;1,2,3,4,5,6&#8230;&#8221; would be generated. The Modulo Count is used<\/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-1847","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/wp.optics.arizona.edu\/milster\/wp-json\/wp\/v2\/pages\/1847","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=1847"}],"version-history":[{"count":3,"href":"https:\/\/wp.optics.arizona.edu\/milster\/wp-json\/wp\/v2\/pages\/1847\/revisions"}],"predecessor-version":[{"id":1971,"href":"https:\/\/wp.optics.arizona.edu\/milster\/wp-json\/wp\/v2\/pages\/1847\/revisions\/1971"}],"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=1847"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}