Index: src/sas/models/media/pd_help.html
===================================================================
--- src/sas/models/media/pd_help.html	(revision fd5ac0db8089df5bd882587f157d4bf317cfcf67)
+++ 	(revision )
@@ -1,182 +1,0 @@
-<head>
-<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
-<meta name=Generator content="Microsoft Word 12 (filtered)">
-
-</head>
-
-<body lang=EN-US>
-
-<div class=WordSection1>
-
-<p class=MsoNormal><h3><span style='font-family:"Times New Roman","serif"'>Polydisperisty
-and Angular Distributions</span></h3></p>
-
-<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'>Calculates
-the form factor for a polydisperse and/or angular population of particles with
-uniform scattering length density. The resultant form factor is normalized by
-the average particle volume such that P(q) = scale*&lt;F*F&gt;/Vol + bkg, where
-F is the scattering amplitude and the &lt; &gt; denote an average over the size
-distribution.  Users should use PD (polydispersity: this definition is different from the typical definition in polymer science) 
-for a size distribution and Sigma for an
-angular distribution (see below).</span></p>
-<p> Note that this computation is very time intensive thus applying polydispersion/angular distrubtion for 
-more than one paramters or increasing Npts values might need extensive patience to complete the computation. Also
-note that even though it is time consuming, it is safer to have larger values of Npts and Nsigmas.</p>
-
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>The following five distribution
-functions are provided;</span></p>
-<ul>
-<li><a href="#Rectangular">Rectangular distribution</a></li>
-<li><a href="#Array">Array distribution</a></li>
-<li><a href="#Gaussian">Gaussian distribution</a></li>
-<li><a href="#Lognormal">Lognormal distribution</a></li>
-<li><a href="#Schulz">Schulz distribution</a></li>
-</ul>
-<p>&nbsp;</p>
-<p><a name="Rectangular"><h4>Rectangular distribution</a></h4></p>
-<p><img src="img/pd_image001.png"></p>
-<p>&nbsp;</p>
-<p>The x<sub>mean</sub> is the mean
-of the distribution, w is the half-width, and Norm is a normalization factor
-which is determined during the numerical calculation. Note that the Sigma and
-the half width <i>w</i> are different.</p>
-<p>The standard deviation is </p>
-<p><img src="img/pd_image002.png"></p>
-<p>&nbsp;</p>
-<p>The PD (polydispersity) is </p>
-<p><img src="img/pd_image003.png"></p>
-<p>&nbsp;</p>
-<p><img width=511 height=270
-id="Picture 1" src="img/pd_image004.jpg" alt=flat.gif></p>
-<p>&nbsp;</p>
-<p>&nbsp;</p>
-<p><a name="Array"><h4>Array distribution</h4></a></p>
-
-<p>This distribution is to be given
-by users as a txt file where the array should be defined by two columns in the
-order of x and f(x) values. The f(x) will be normalized by SasView during the
-computation.</p>
-
-<p>Example of an array in the file;</p>
-
-<p>30        0.1</p>
-
-<p>32        0.3</p>
-
-<p>35        0.4</p>
-
-<p>36        0.5</p>
-
-<p>37        0.6</p>
-
-<p>39        0.7</p>
-
-<p>41        0.9</p>
-
-<p'>&nbsp;</p>
-
-<p>We use only these array values in
-the computation, therefore the mean value given in the control panel, for
-example radius = 60, will be ignored.</p>
-<p>&nbsp;</p>
-
-
-<p><a name="Gaussian"><h4>Gaussian distribution</h4></a></p>
-<p>&nbsp;</p>
-
-<p><img src="img/pd_image005.png"></p>
-
-<p>&nbsp;</p>
-
-<p>The x<sub>mean</sub> is the mean
-of the distribution and Norm is a normalization factor which is determined
-during the numerical calculation.</p>
-
-<p>&nbsp;</p>
-
-<p>The PD (polydispersity) is </p>
-
-<p><img src="img/pd_image003.png"></p>
-
-<p>&nbsp;</p>
-
-<p><img width=518 height=275
-id="Picture 2" src="img/pd_image006.jpg" alt=gauss.gif></p>
-
-<p>&nbsp;</p>
-
-<p><a name="Lognormal"><h4>Lognormal distribution</h4></a></p>
-
-<p>&nbsp;</p>
-
-<p><img src="img/pd_image007.png"></p>
-
-<p>&nbsp;</p>
-
-<p>The &#956; = ln(x<sub>med</sub>),  x<sub>med</sub>
-is the median value of the distribution, and Norm is a normalization factor
-which will be determined during the numerical calculation. The median value is
-the value given in the size parameter in the control panel, for example,
-radius = 60.</p>
-
-<p >&nbsp;</p>
-
-<p>The PD (polydispersity) is given
-by &#963;,</p>
-
-<p><img src="img/pd_image008.png"></p>
-
-<p>&nbsp;</p>
-
-<p>For the angular distribution,</p>
-
-<p><img src="img/pd_image009.png"></p>
-
-<p>&nbsp;</p>
-
-<p>The mean value is given by x<sub>mean</sub>
-=exp(&#956;+p<sup>2</sup>/2).</p>
-
-<p>The peak value is given by x<sub>peak</sub>=exp(&#956;-p<sup>2</sup>).</span></p>
-
-<p>&nbsp;</p>
-
-<p><img width=450 height=239
-id="Picture 7" src="img/pd_image010.jpg" alt=lognormal.gif></p>
-
-<p>&nbsp;</p>
-
-<p>This distribution function
-spreads more and the peak shifts to the left as the p increases, requiring
-higher values of Nsigmas and Npts.</p>
-
-<p>&nbsp;</p>
-
-<p><a name="Schulz"><h4>Schulz distribution</h4></a></p>
-
-<p>&nbsp;</p>
-
-<p><img src="img/pd_image011.png"></p>
-
-<p>&nbsp;</p>
-
-<p>The x<sub>mean</sub> is the mean
-of the distribution and Norm is a normalization factor which is determined
-during the numerical calculation. </p>
-
-<p>The z = 1/p<sup>2</sup>  1.</p>
-<p>&nbsp;</p>
-
-<p>The PD (polydispersity) is </p>
-<p'><img src="img/pd_image012.png"></p>
-<p>Note that the higher PD (polydispersity)
- might need higher values of Npts and Nsigmas. For example, at PD = 0.7 and  radisus = 60 A, 
- Npts >= 160, and Nsigmas >= 15 at least.</p>
- <p/>
-<p><img width=438 height=232
-id="Picture 4" src="img/pd_image013.jpg" alt=schulz.gif></p>
-
-</div>
-<br>
-</body>
Index: src/sas/models/media/pd_help_v0.html
===================================================================
--- src/sas/models/media/pd_help_v0.html	(revision b532aa125f4128991fc9efb6c7c4d8727ef4ed6a)
+++ src/sas/models/media/pd_help_v0.html	(revision b532aa125f4128991fc9efb6c7c4d8727ef4ed6a)
@@ -0,0 +1,182 @@
+<head>
+<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
+<meta name=Generator content="Microsoft Word 12 (filtered)">
+
+</head>
+
+<body lang=EN-US>
+
+<div class=WordSection1>
+
+<p class=MsoNormal><h3><span style='font-family:"Times New Roman","serif"'>Polydisperisty
+and Angular Distributions</span></h3></p>
+
+<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'>Calculates
+the form factor for a polydisperse and/or angular population of particles with
+uniform scattering length density. The resultant form factor is normalized by
+the average particle volume such that P(q) = scale*&lt;F*F&gt;/Vol + bkg, where
+F is the scattering amplitude and the &lt; &gt; denote an average over the size
+distribution.  Users should use PD (polydispersity: this definition is different from the typical definition in polymer science) 
+for a size distribution and Sigma for an
+angular distribution (see below).</span></p>
+<p> Note that this computation is very time intensive thus applying polydispersion/angular distrubtion for 
+more than one paramters or increasing Npts values might need extensive patience to complete the computation. Also
+note that even though it is time consuming, it is safer to have larger values of Npts and Nsigmas.</p>
+
+<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
+style='font-family:"Times New Roman","serif"'>The following five distribution
+functions are provided;</span></p>
+<ul>
+<li><a href="#Rectangular">Rectangular distribution</a></li>
+<li><a href="#Array">Array distribution</a></li>
+<li><a href="#Gaussian">Gaussian distribution</a></li>
+<li><a href="#Lognormal">Lognormal distribution</a></li>
+<li><a href="#Schulz">Schulz distribution</a></li>
+</ul>
+<p>&nbsp;</p>
+<p><a name="Rectangular"><h4>Rectangular distribution</a></h4></p>
+<p><img src="img/pd_image001.png"></p>
+<p>&nbsp;</p>
+<p>The x<sub>mean</sub> is the mean
+of the distribution, w is the half-width, and Norm is a normalization factor
+which is determined during the numerical calculation. Note that the Sigma and
+the half width <i>w</i> are different.</p>
+<p>The standard deviation is </p>
+<p><img src="img/pd_image002.png"></p>
+<p>&nbsp;</p>
+<p>The PD (polydispersity) is </p>
+<p><img src="img/pd_image003.png"></p>
+<p>&nbsp;</p>
+<p><img width=511 height=270
+id="Picture 1" src="img/pd_image004.jpg" alt=flat.gif></p>
+<p>&nbsp;</p>
+<p>&nbsp;</p>
+<p><a name="Array"><h4>Array distribution</h4></a></p>
+
+<p>This distribution is to be given
+by users as a txt file where the array should be defined by two columns in the
+order of x and f(x) values. The f(x) will be normalized by SasView during the
+computation.</p>
+
+<p>Example of an array in the file;</p>
+
+<p>30        0.1</p>
+
+<p>32        0.3</p>
+
+<p>35        0.4</p>
+
+<p>36        0.5</p>
+
+<p>37        0.6</p>
+
+<p>39        0.7</p>
+
+<p>41        0.9</p>
+
+<p'>&nbsp;</p>
+
+<p>We use only these array values in
+the computation, therefore the mean value given in the control panel, for
+example radius = 60, will be ignored.</p>
+<p>&nbsp;</p>
+
+
+<p><a name="Gaussian"><h4>Gaussian distribution</h4></a></p>
+<p>&nbsp;</p>
+
+<p><img src="img/pd_image005.png"></p>
+
+<p>&nbsp;</p>
+
+<p>The x<sub>mean</sub> is the mean
+of the distribution and Norm is a normalization factor which is determined
+during the numerical calculation.</p>
+
+<p>&nbsp;</p>
+
+<p>The PD (polydispersity) is </p>
+
+<p><img src="img/pd_image003.png"></p>
+
+<p>&nbsp;</p>
+
+<p><img width=518 height=275
+id="Picture 2" src="img/pd_image006.jpg" alt=gauss.gif></p>
+
+<p>&nbsp;</p>
+
+<p><a name="Lognormal"><h4>Lognormal distribution</h4></a></p>
+
+<p>&nbsp;</p>
+
+<p><img src="img/pd_image007.png"></p>
+
+<p>&nbsp;</p>
+
+<p>The &#956; = ln(x<sub>med</sub>),  x<sub>med</sub>
+is the median value of the distribution, and Norm is a normalization factor
+which will be determined during the numerical calculation. The median value is
+the value given in the size parameter in the control panel, for example,
+radius = 60.</p>
+
+<p >&nbsp;</p>
+
+<p>The PD (polydispersity) is given
+by &#963;,</p>
+
+<p><img src="img/pd_image008.png"></p>
+
+<p>&nbsp;</p>
+
+<p>For the angular distribution,</p>
+
+<p><img src="img/pd_image009.png"></p>
+
+<p>&nbsp;</p>
+
+<p>The mean value is given by x<sub>mean</sub>
+=exp(&#956;+p<sup>2</sup>/2).</p>
+
+<p>The peak value is given by x<sub>peak</sub>=exp(&#956;-p<sup>2</sup>).</span></p>
+
+<p>&nbsp;</p>
+
+<p><img width=450 height=239
+id="Picture 7" src="img/pd_image010.jpg" alt=lognormal.gif></p>
+
+<p>&nbsp;</p>
+
+<p>This distribution function
+spreads more and the peak shifts to the left as the p increases, requiring
+higher values of Nsigmas and Npts.</p>
+
+<p>&nbsp;</p>
+
+<p><a name="Schulz"><h4>Schulz distribution</h4></a></p>
+
+<p>&nbsp;</p>
+
+<p><img src="img/pd_image011.png"></p>
+
+<p>&nbsp;</p>
+
+<p>The x<sub>mean</sub> is the mean
+of the distribution and Norm is a normalization factor which is determined
+during the numerical calculation. </p>
+
+<p>The z = 1/p<sup>2</sup>  1.</p>
+<p>&nbsp;</p>
+
+<p>The PD (polydispersity) is </p>
+<p'><img src="img/pd_image012.png"></p>
+<p>Note that the higher PD (polydispersity)
+ might need higher values of Npts and Nsigmas. For example, at PD = 0.7 and  radisus = 60 A, 
+ Npts >= 160, and Nsigmas >= 15 at least.</p>
+ <p/>
+<p><img width=438 height=232
+id="Picture 4" src="img/pd_image013.jpg" alt=schulz.gif></p>
+
+</div>
+<br>
+</body>
Index: src/sas/models/media/polar_mag_help.html
===================================================================
--- src/sas/models/media/polar_mag_help.html	(revision 794922220f2fb3b23dd08c648aabf87b4850596c)
+++ 	(revision )
@@ -1,102 +1,0 @@
-<body>
-<br>
-<p><a name="magnetic"></a><strong><span style="font-size: 14pt;"> Polarization and Magnetic Scattering</span></strong></p>
-<br>
-<br>
-The magnetic scattering is implemented in five (2D) models, SphereModel, CoreShellModel, 
-CoreMultiShellModel, CylinderModel, and ParallelepipedModel. 
-In general, the scattering length density (SLD) in each regions where the SLD (=&#946;)
- is uniform, is a combination of the nuclear and magnetic SLDs 
-and depends on the spin states of the neutrons as follows:
-<br>
-<br>
-For magnetic scattering, only the magnetization component, <b>M</b><sub>perp</sub>, 
-perpendicular to the scattering vector <b>Q</b> contributes to the the magnetic 
-scattering length. (Figure below).
-<p>
-<img src="img/mag_vector.bmp"/>
-</p>
-<br>
-The magnetic scattering length density is then
-<p>
-<img src="img/dm_eq.gif"/>
-</p>
-<br>
-where &#947; = -1.913 the gyromagnetic ratio,  	&#956;<sub>B</sub> is the Bohr magneton, 
-r<sub>0</sub> is the classical radius of electron, 
-and <b>&#963;</b> is the Pauli spin.
-<br>
-For polarized neutron, the magnetic scattering is depending on the spin states.
-Let's consider that the incident neutrons are polarized parallel (+)/anti-parallel 
-(&#8211;) to the x' axis (See both Figures above).
-The possible out-coming states then are + and - states for both incident states.
-<br>
- - Non-spin-flips:  	(+ +) and  	(- -)
-<br>
- - Spin-flips:  	(+ -) and  	(- +)
-<br>
-<p>
-<img src="img/M_angles_pic.bmp"/>
-</p>
-<br>
-<br>
-Now, let's assume that the angles of the <b>Q</b> vector and the spin-axis (x') against x-axis 
-are &#966; and  &#952;<sub>up</sub>, respectively (See Figure above).
-Then, depending upon the polarization (spin) state of neutrons, the scattering length
-densities , including the nuclear scattering length density (&#946; <sub>N</sub>) are given as, for non-spin-flips,
-<p>
-<img src="img/sld1.gif"/>
-</p>
-<br>
-<br>
-for spin-flips,
-<p>
-<img src="img/sld2.gif"/>
-</p>
-<br>
-<br>
-where
-<p>
-<img src="img/mxp.gif"/>
-</p>
-<p>
-<img src="img/myp.gif"/>
-</p>
-<p>
-<img src="img/mzp.gif"/>
-</p>
-<p>
-<img src="img/mqx.gif"/>
-</p>
-<p>
-<img src="img/mqy.gif"/>
-</p>
-<br>
-<br>
-Here, the M<sub>0x</sub>, M<sub>0y</sub> and M<sub>0z</sub> are the x, y and z 
-components of the magnetization vector given in the xyz lab frame. 
-The angles of the magnetization, &#952;<sub>M</sub> and &#966;<sub>M</sub> as defined in the 
-Figure (above),
-<p>
-<img src="img/m0x_eq.gif"/>
-</p>
-<p>
-<img src="img/m0y_eq.gif"/>
-</p>
-<p>
-<img src="img/m0z_eq.gif"/>
-</p>
-<br>
-<p>
-The user input parameters are M0_sld = D<sub>M</sub>M<sub>0</sub>, Up_theta = &#952;<sub>up</sub>, 
-M_theta = &#952;<sub>M</sub>, and M_phi = &#966;<sub>M</sub>.
-The 'Up_frac_i' and 'Up_frac_f' are the ratio, (spin up) /(spin up + spin down) neutrons 
-before the sample and at the analyzer, respectively.
-</p>
-<br>
-*Note: The values of the 'Up_frac_i' and 'Up_frac_f' must be in the range between 0 and 1.
-</body>
-
-
-
-
Index: src/sas/models/media/polar_mag_help_v0.html
===================================================================
--- src/sas/models/media/polar_mag_help_v0.html	(revision b532aa125f4128991fc9efb6c7c4d8727ef4ed6a)
+++ src/sas/models/media/polar_mag_help_v0.html	(revision b532aa125f4128991fc9efb6c7c4d8727ef4ed6a)
@@ -0,0 +1,102 @@
+<body>
+<br>
+<p><a name="magnetic"></a><strong><span style="font-size: 14pt;"> Polarization and Magnetic Scattering</span></strong></p>
+<br>
+<br>
+The magnetic scattering is implemented in five (2D) models, SphereModel, CoreShellModel, 
+CoreMultiShellModel, CylinderModel, and ParallelepipedModel. 
+In general, the scattering length density (SLD) in each regions where the SLD (=&#946;)
+ is uniform, is a combination of the nuclear and magnetic SLDs 
+and depends on the spin states of the neutrons as follows:
+<br>
+<br>
+For magnetic scattering, only the magnetization component, <b>M</b><sub>perp</sub>, 
+perpendicular to the scattering vector <b>Q</b> contributes to the the magnetic 
+scattering length. (Figure below).
+<p>
+<img src="img/mag_vector.bmp"/>
+</p>
+<br>
+The magnetic scattering length density is then
+<p>
+<img src="img/dm_eq.gif"/>
+</p>
+<br>
+where &#947; = -1.913 the gyromagnetic ratio,  	&#956;<sub>B</sub> is the Bohr magneton, 
+r<sub>0</sub> is the classical radius of electron, 
+and <b>&#963;</b> is the Pauli spin.
+<br>
+For polarized neutron, the magnetic scattering is depending on the spin states.
+Let's consider that the incident neutrons are polarized parallel (+)/anti-parallel 
+(&#8211;) to the x' axis (See both Figures above).
+The possible out-coming states then are + and - states for both incident states.
+<br>
+ - Non-spin-flips:  	(+ +) and  	(- -)
+<br>
+ - Spin-flips:  	(+ -) and  	(- +)
+<br>
+<p>
+<img src="img/M_angles_pic.bmp"/>
+</p>
+<br>
+<br>
+Now, let's assume that the angles of the <b>Q</b> vector and the spin-axis (x') against x-axis 
+are &#966; and  &#952;<sub>up</sub>, respectively (See Figure above).
+Then, depending upon the polarization (spin) state of neutrons, the scattering length
+densities , including the nuclear scattering length density (&#946; <sub>N</sub>) are given as, for non-spin-flips,
+<p>
+<img src="img/sld1.gif"/>
+</p>
+<br>
+<br>
+for spin-flips,
+<p>
+<img src="img/sld2.gif"/>
+</p>
+<br>
+<br>
+where
+<p>
+<img src="img/mxp.gif"/>
+</p>
+<p>
+<img src="img/myp.gif"/>
+</p>
+<p>
+<img src="img/mzp.gif"/>
+</p>
+<p>
+<img src="img/mqx.gif"/>
+</p>
+<p>
+<img src="img/mqy.gif"/>
+</p>
+<br>
+<br>
+Here, the M<sub>0x</sub>, M<sub>0y</sub> and M<sub>0z</sub> are the x, y and z 
+components of the magnetization vector given in the xyz lab frame. 
+The angles of the magnetization, &#952;<sub>M</sub> and &#966;<sub>M</sub> as defined in the 
+Figure (above),
+<p>
+<img src="img/m0x_eq.gif"/>
+</p>
+<p>
+<img src="img/m0y_eq.gif"/>
+</p>
+<p>
+<img src="img/m0z_eq.gif"/>
+</p>
+<br>
+<p>
+The user input parameters are M0_sld = D<sub>M</sub>M<sub>0</sub>, Up_theta = &#952;<sub>up</sub>, 
+M_theta = &#952;<sub>M</sub>, and M_phi = &#966;<sub>M</sub>.
+The 'Up_frac_i' and 'Up_frac_f' are the ratio, (spin up) /(spin up + spin down) neutrons 
+before the sample and at the analyzer, respectively.
+</p>
+<br>
+*Note: The values of the 'Up_frac_i' and 'Up_frac_f' must be in the range between 0 and 1.
+</body>
+
+
+
+
Index: src/sas/models/media/smear_computation.html
===================================================================
--- src/sas/models/media/smear_computation.html	(revision fd5ac0db8089df5bd882587f157d4bf317cfcf67)
+++ 	(revision )
@@ -1,283 +1,0 @@
-
-<head>
-<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
-<meta name=Generator content="Microsoft Word 12 (filtered)">
-
-</head>
-
-<body lang=EN-US>
-
-<div class=WordSection1>
-
-<p class=MsoNormal><span style='font-size:16.0pt;line-height:115%;font-family:
-"Times New Roman","serif"'><h4>Smear Computation </h4></span></p>
-
-
-<ul style='margin-top:0in' type=disc>
- <li class=MsoNormal style='line-height:115%'><a href="#Slit Smear"><b>Slit Smear</b></a>
-     </li>
- <li class=MsoNormal style='line-height:115%'><a href="#Pinhole Smear"><b>Pinhole Smear</b></a>
-	</li>
- <li class=MsoNormal style='line-height:115%'><a href="#2D Smear"><b>2D Smear</b></a> 
-	</li>
-</ul>
-
-<p class=MsoListParagraph><span style='font-size:14.0pt;line-height:115%;
-font-family:"Times New Roman","serif"'><h5><a name="Slit Smear">Slit Smear</a></h5></span></p>
-
-<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'>The sit
-smeared scattering intensity for SAS is defined by</span></p>
-
-<p class=MsoNormal><img 
-src="img/sm_image002.gif" align=left hspace=12></p>
-
-<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'>           
-                                 ---- 1)</span><br clear=all>
-<span style='font-family:"Times New Roman","serif"'>where Norm = <span
-style='position:relative;top:15.0pt'><img 
-src="img/sm_image003.gif"></span>.</span></p>
-<br>
-<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'>The
-functions <span style='position:relative;top:6.0pt'><img 
-src="img/sm_image004.gif"></span> and <span style='position:
-relative;top:6.0pt'><img 
-src="img/sm_image005.gif"></span> refer to the slit width weighting
-function and the slit height weighting determined at the q point, respectively.
- Here, we assumes that the weighting function is described by a rectangular
-function, i.e.,</span></p>
-
-<p class=MsoNormal><span style='position:relative;top:7.0pt'><img 
- src="img/sm_image006.gif">                                                                                                       
-  </span><span style='font-family:"Times New Roman","serif";position:relative;
-top:7.0pt'> ---- 2)</span></p>
-
-<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'>and </span></p>
-
-<p class=MsoNormal><span style='position:relative;top:7.0pt'><img 
- src="img/sm_image007.gif"></span>,                                                                              
-                         <span style='font-family:"Times New Roman","serif"'> ---- 3)</span></p>
-
-<p>so that <img 
-src="img/sm_image008.gif"> <img src="img/sm_image009.gif">  for <img 
-src="img/sm_image010.gif"> and <i>u</i>. The <img src="img/sm_image011.gif"> 
- and <img src="img/sm_image012.gif">  stand for the slit height (FWHM/2) and the slit
-width (FWHM/2) in the q space. Now the integral of Eq. (1) is simplified to</span></p>
-
-<p class=MsoNormal><img 
-src="img/sm_image013.gif" align=left hspace=12><span
-style='font-family:"Times New Roman","serif"'>                                                  
-          ---- 4)</span></p>
-
-<p class=MsoNormal><span style='font-family:"Times New Roman","serif";
-position:relative;top:20.0pt'>&nbsp;</span></p>
-
-<p class=MsoListParagraphCxSpFirst style='margin-left:0in'><b><span
-style='font-family:"Times New Roman","serif"'>Numerical Implementation of Eq.
-(4) </span></b></p>
-
-<p class=MsoListParagraphCxSpMiddle style='margin-left:.25in;text-indent:-.25in'><span
-style='font-family:"Times New Roman","serif"'>1)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</span></span><span style='font-family:"Times New Roman","serif"'>For </span><span
-style='position:relative;top:6.0pt'><img 
-src="img/sm_image012.gif"></span>= 0  <span style='font-family:
-"Times New Roman","serif"'>and </span><span style='position:relative;
-top:6.0pt'><img src="img/sm_image011.gif"></span> =
-<span style='font-family:"Times New Roman","serif"'>constant:</span></p>
-
-<p>
-<img src="img/sm_image016.gif"></p>
-
-<p> For discrete q values, at the q
-values from the data points and at the q values extended up to  q<sub>N</sub>=
-q<sub>i</sub> +  <img src="img/sm_image011.gif"> , the smeared intensity can be
-calculated approximately, </p>
-
-<p><img 
-src="img/sm_image017.gif">.                                                           
- ---- 5)</p>
-
-<p class=MsoListParagraphCxSpMiddle style='margin-left:.25in'><span
-style='position:relative;top:7.0pt'><img 
-src="img/sm_image018.gif"></span> <span style='font-family:
-"Times New Roman","serif"'>= 0 for <i>I<sub>s</sub></i> in</span> <i><span
-style='font-family:"Times New Roman","serif"'>j &lt; i</span></i><span
-style='font-family:"Times New Roman","serif"'> or<i> j&gt;N-1</i>.</span></p>
-
-<p class=MsoListParagraphCxSpMiddle style='margin-left:.25in'><span
-style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
-
-<p class=MsoListParagraphCxSpMiddle style='margin-left:.25in;text-indent:-.25in'><span
-style='font-family:"Times New Roman","serif"'>2)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</span></span><span style='font-family:"Times New Roman","serif"'>For  </span><span
-style='position:relative;top:6.0pt'><img 
-src="img/sm_image012.gif"></span>= <span style='font-family:
-"Times New Roman","serif"'>constant </span> <span style='font-family:"Times New Roman","serif"'>and
-</span><span style='position:relative;top:6.0pt'><img 
-src="img/sm_image011.gif"></span> = <span style='font-family:
-"Times New Roman","serif"'>0:</span></p>
-
-<p class=MsoListParagraphCxSpMiddle style='margin-left:.25in'><span
-style='font-family:"Times New Roman","serif"'>Similarly to 1), we get</span></p>
-
-<p class=MsoListParagraphCxSpMiddle style='margin-left:.25in'>
-<img src="img/sm_image019.gif">                                                                                        
-<span style='font-family:"Times New Roman","serif"'> ---- 6)</span></p>
-
-<p class=MsoListParagraphCxSpMiddle style='margin-left:.25in'><span
-style='font-family:"Times New Roman","serif"'>for  q<sub>p</sub> = q<sub>i</sub>
-- </span><span style='position:relative;top:6.0pt'><img 
-src="img/sm_image012.gif"></span><span style='font-family:
-"Times New Roman","serif"'> and</span> <span style='font-family:"Times New Roman","serif"'>q<sub>N</sub>
-= q<sub>i</sub> + </span><span style='position:relative;top:6.0pt'><img
- src="img/sm_image012.gif"></span>.  <span
-style='position:relative;top:7.0pt'><img 
-src="img/sm_image018.gif"></span> <span style='font-family:
-"Times New Roman","serif"'>= 0 for <i>I<sub>s</sub></i> in</span> <i><span
-style='font-family:"Times New Roman","serif"'>j &lt; p</span></i><span
-style='font-family:"Times New Roman","serif"'> or<i> j&gt;N-1</i>.</span></p>
-
-<p class=MsoListParagraphCxSpMiddle style='margin-left:.25in'>&nbsp;</p>
-
-<p class=MsoListParagraphCxSpMiddle style='margin-left:.25in;text-indent:-.25in'><span
-style='font-family:"Times New Roman","serif"'>3)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</span></span><span style='font-family:"Times New Roman","serif"'>For  </span><span
-style='position:relative;top:6.0pt'><img 
-src="img/sm_image011.gif"></span>= <span style='font-family:
-"Times New Roman","serif"'>constant </span> <span style='font-family:"Times New Roman","serif"'>and
-</span><span style='position:relative;top:6.0pt'><img 
-src="img/sm_image011.gif"></span> = <span style='font-family:
-"Times New Roman","serif"'>constant:</span></p>
-
-<p class=MsoListParagraphCxSpMiddle style='margin-left:.25in'><span
-style='font-family:"Times New Roman","serif"'>This case, the best way is to
-perform the integration, Eq. (1), numerically for both slit height and width.
-However, the numerical integration is not correct enough unless given a large
-number of iteration, say at least 10000 by 10000 for each element of the matrix
-W, which will take minutes and minutes to finish the calculation for a set of
-typical SAS data. An alternative way which is correct for slit width &lt;&lt;
-slit hight, is used in the SASView:  This method is a mixed method that
-combines the method 1) with the numerical integration for the slit width.</span></p>
-
-<p class=MsoListParagraphCxSpMiddle style='margin-left:.25in'>
-</p>
-
-<p class=MsoListParagraphCxSpMiddle style='margin-left:.25in'>
-<img src="img/sm_image020.gif">    <span style='font-family:
-"Times New Roman","serif"'> ---- (7)</span></p>
-
-<p class=MsoListParagraphCxSpMiddle style='margin-left:.25in'><span
-style='font-family:"Times New Roman","serif"'>for  q<sub>p</sub> = q<sub>i</sub>
-- </span><span style='position:relative;top:6.0pt'><img 
-src="img/sm_image012.gif"></span><span style='font-family:
-"Times New Roman","serif"'> and</span> <span style='font-family:"Times New Roman","serif"'>q<sub>N</sub>
-= q<sub>i</sub> + </span><span style='position:relative;top:6.0pt'><img
- src="img/sm_image012.gif"></span>.  <span
-style='position:relative;top:7.0pt'><img 
-src="img/sm_image018.gif"></span> <span style='font-family:
-"Times New Roman","serif"'>= 0 for <i>I<sub>s</sub></i> in</span> <i><span
-style='font-family:"Times New Roman","serif"'>j &lt; p</span></i><span
-style='font-family:"Times New Roman","serif"'> or<i> j&gt;N-1</i>. </span></p>
-
-<p class=MsoListParagraphCxSpMiddle style='margin-left:.25in'><span
-style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
-
-<p class=MsoListParagraphCxSpMiddle style='margin-left:.25in'><span
-style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
-
-<p class=MsoListParagraphCxSpLast><span style='font-size:14.0pt;line-height:
-115%;font-family:"Times New Roman","serif"'><h5><a name="Pinhole Smear">Pinhole Smear</a></h5></span></p>
-
-<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'>The
-pinhole smearing computation is done similar to the Case 2) above except that
-the weight function used was the Gaussian function, so that the Eq. 6) for this
-case becomes</span></p>
-
-<p class=MsoNormal><img src="img/sm_image021.gif"><span
-style='font-family:"Times New Roman","serif"'>   ---- (8)</span></p>
-
-<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'>For all
-the cases above, the weighting matrix <i>W</i> is calculated when the smearing
-is called at the first time, and it includes the ~ 60 q values (finely binned
-evenly) below (&gt;0) and above the q range of data in order to cover all data
-points of the smearing computation for a given model and for a given slit size.
- The <i>Norm</i> factor is found numerically with the weighting matrix, and
-considered on <i>I<sub>s</sub></i> computation.</span></p>
-
-<p class=MsoListParagraphCxSpFirst style='margin-left:.25in'><span
-style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
-
-<p class=MsoListParagraphCxSpLast><span style='font-size:14.0pt;line-height:
-115%;font-family:"Times New Roman","serif"'><h5><a name="2D Smear">2D Smear</a></h5></span></p>
-
-<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'>The
-2D smearing computation is done similar to the 1D pinhole smearing above
-except that the weight function used was the 2D elliptical Gaussian function</span></p>
-
-<p class=MsoNormal><img src="img/sm_image022.gif"><span
-style='font-family:"Times New Roman","serif"'>     ---- (9)</span></p>
-
-<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'>In Eq
-(9), x<sub>0</sub> = qcos&#952;</span><span
-style='font-family:"Times New Roman","serif"'> and y<sub>0</sub> = qsin&#952;</span><span style='font-family:"Times New Roman","serif"'>
-, and the primed axes are in the coordinate rotated by an angle &#952;</span><span style='font-family:"Times New Roman","serif"'>
-around z-axis (below) so that x<sub>0</sub> =  x<sub>0</sub>cos&#952; + </span><span style='font-family:"Times New Roman","serif"'>y<sub>0</sub>
-sin&#952;  </span><span style='font-family:
-"Times New Roman","serif"'>and y<sub>0</sub> =  -x<sub>0</sub>sin&#952; + </span><span style='font-family:"Times New Roman","serif"'>y<sub>0</sub>
-cos&#952;.</span><span style='font-family:
-"Times New Roman","serif"'> Note that the rotation angle is zero for x-y
-symmetric elliptical Gaussian distribution</span>.
-<span style='font-family:"Times New Roman","serif"'>The  A is a
-normalization factor.</span></p>
-
-<p class=MsoNormal align=center style='text-align:center'><span
-style='font-family:"Times New Roman","serif"'><img 
-id="Object 1" src="img/sm_image023.gif"></span></p>
-
-<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
-
-<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'>Now we
-consider a numerical integration where each bins in </span> &#920; </span><span style='font-family:"Times New Roman","serif"'>
-and R are <b>evenly </b>(this is to simplify the equation below) distributed by
-</span>&#916;&#920; </span><span style='font-family:
-"Times New Roman","serif"'>and </span> &#916;</span><span
-style='font-family:"Times New Roman","serif"'>R, respectively, and it is
-assumed that I(x, y) is constant within the bins which in turn becomes</span></p>
-
-<p class=MsoNormal><img src="img/sm_image024.gif"></p>
-
-<p class=MsoNormal>                                                                                                                                                                                <span
-style='font-family:"Times New Roman","serif"'> ---- (10)</span></p>
-
-<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'>Since we
-have found the weighting factor on each bin points, it is convenient to
-transform x-y back to x-y coordinate (rotating it by -&#952;</span><span style='font-family:"Times New Roman","serif"'>
-around z axis).  Then, for the polar symmetric smear,</span></p>
-
-<p class=MsoNormal><img src="img/sm_image025.gif"><span
-style='position:relative;top:35.0pt'>      </span> ---- (11)</p>
-
-<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'>where,</span></p>
-
-<p class=MsoNormal><img src="img/sm_image026.gif">,</p>
-
-<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'>while
-for the x-y symmetric smear,</span></p>
-
-<p class=MsoNormal><img src="img/sm_image027.gif"><span
-style='font-family:"Times New Roman","serif"'>  ---- (12)</span></p>
-
-<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'>where,</span></p>
-
-<p class=MsoNormal><img src="img/sm_image028.gif"></p>
-
-<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'>Here, the
-current version of the SASVIEW uses the Eq. (11) for 2D smearing assuming that
-all the Gaussian weighting functions are aligned in the polar coordinate. </span></p>
-<p> In the control panel, the higher accuracy indicates more and finer binnng points 
-so that it costs more in time. </p>
-
-
-</div>
-
-</body>
-
Index: src/sas/models/media/smear_computation_v0.html
===================================================================
--- src/sas/models/media/smear_computation_v0.html	(revision b532aa125f4128991fc9efb6c7c4d8727ef4ed6a)
+++ src/sas/models/media/smear_computation_v0.html	(revision b532aa125f4128991fc9efb6c7c4d8727ef4ed6a)
@@ -0,0 +1,283 @@
+
+<head>
+<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
+<meta name=Generator content="Microsoft Word 12 (filtered)">
+
+</head>
+
+<body lang=EN-US>
+
+<div class=WordSection1>
+
+<p class=MsoNormal><span style='font-size:16.0pt;line-height:115%;font-family:
+"Times New Roman","serif"'><h4>Smear Computation </h4></span></p>
+
+
+<ul style='margin-top:0in' type=disc>
+ <li class=MsoNormal style='line-height:115%'><a href="#Slit Smear"><b>Slit Smear</b></a>
+     </li>
+ <li class=MsoNormal style='line-height:115%'><a href="#Pinhole Smear"><b>Pinhole Smear</b></a>
+	</li>
+ <li class=MsoNormal style='line-height:115%'><a href="#2D Smear"><b>2D Smear</b></a> 
+	</li>
+</ul>
+
+<p class=MsoListParagraph><span style='font-size:14.0pt;line-height:115%;
+font-family:"Times New Roman","serif"'><h5><a name="Slit Smear">Slit Smear</a></h5></span></p>
+
+<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'>The sit
+smeared scattering intensity for SAS is defined by</span></p>
+
+<p class=MsoNormal><img 
+src="img/sm_image002.gif" align=left hspace=12></p>
+
+<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'>           
+                                 ---- 1)</span><br clear=all>
+<span style='font-family:"Times New Roman","serif"'>where Norm = <span
+style='position:relative;top:15.0pt'><img 
+src="img/sm_image003.gif"></span>.</span></p>
+<br>
+<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'>The
+functions <span style='position:relative;top:6.0pt'><img 
+src="img/sm_image004.gif"></span> and <span style='position:
+relative;top:6.0pt'><img 
+src="img/sm_image005.gif"></span> refer to the slit width weighting
+function and the slit height weighting determined at the q point, respectively.
+ Here, we assumes that the weighting function is described by a rectangular
+function, i.e.,</span></p>
+
+<p class=MsoNormal><span style='position:relative;top:7.0pt'><img 
+ src="img/sm_image006.gif">                                                                                                       
+  </span><span style='font-family:"Times New Roman","serif";position:relative;
+top:7.0pt'> ---- 2)</span></p>
+
+<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'>and </span></p>
+
+<p class=MsoNormal><span style='position:relative;top:7.0pt'><img 
+ src="img/sm_image007.gif"></span>,                                                                              
+                         <span style='font-family:"Times New Roman","serif"'> ---- 3)</span></p>
+
+<p>so that <img 
+src="img/sm_image008.gif"> <img src="img/sm_image009.gif">  for <img 
+src="img/sm_image010.gif"> and <i>u</i>. The <img src="img/sm_image011.gif"> 
+ and <img src="img/sm_image012.gif">  stand for the slit height (FWHM/2) and the slit
+width (FWHM/2) in the q space. Now the integral of Eq. (1) is simplified to</span></p>
+
+<p class=MsoNormal><img 
+src="img/sm_image013.gif" align=left hspace=12><span
+style='font-family:"Times New Roman","serif"'>                                                  
+          ---- 4)</span></p>
+
+<p class=MsoNormal><span style='font-family:"Times New Roman","serif";
+position:relative;top:20.0pt'>&nbsp;</span></p>
+
+<p class=MsoListParagraphCxSpFirst style='margin-left:0in'><b><span
+style='font-family:"Times New Roman","serif"'>Numerical Implementation of Eq.
+(4) </span></b></p>
+
+<p class=MsoListParagraphCxSpMiddle style='margin-left:.25in;text-indent:-.25in'><span
+style='font-family:"Times New Roman","serif"'>1)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+</span></span><span style='font-family:"Times New Roman","serif"'>For </span><span
+style='position:relative;top:6.0pt'><img 
+src="img/sm_image012.gif"></span>= 0  <span style='font-family:
+"Times New Roman","serif"'>and </span><span style='position:relative;
+top:6.0pt'><img src="img/sm_image011.gif"></span> =
+<span style='font-family:"Times New Roman","serif"'>constant:</span></p>
+
+<p>
+<img src="img/sm_image016.gif"></p>
+
+<p> For discrete q values, at the q
+values from the data points and at the q values extended up to  q<sub>N</sub>=
+q<sub>i</sub> +  <img src="img/sm_image011.gif"> , the smeared intensity can be
+calculated approximately, </p>
+
+<p><img 
+src="img/sm_image017.gif">.                                                           
+ ---- 5)</p>
+
+<p class=MsoListParagraphCxSpMiddle style='margin-left:.25in'><span
+style='position:relative;top:7.0pt'><img 
+src="img/sm_image018.gif"></span> <span style='font-family:
+"Times New Roman","serif"'>= 0 for <i>I<sub>s</sub></i> in</span> <i><span
+style='font-family:"Times New Roman","serif"'>j &lt; i</span></i><span
+style='font-family:"Times New Roman","serif"'> or<i> j&gt;N-1</i>.</span></p>
+
+<p class=MsoListParagraphCxSpMiddle style='margin-left:.25in'><span
+style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
+
+<p class=MsoListParagraphCxSpMiddle style='margin-left:.25in;text-indent:-.25in'><span
+style='font-family:"Times New Roman","serif"'>2)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+</span></span><span style='font-family:"Times New Roman","serif"'>For  </span><span
+style='position:relative;top:6.0pt'><img 
+src="img/sm_image012.gif"></span>= <span style='font-family:
+"Times New Roman","serif"'>constant </span> <span style='font-family:"Times New Roman","serif"'>and
+</span><span style='position:relative;top:6.0pt'><img 
+src="img/sm_image011.gif"></span> = <span style='font-family:
+"Times New Roman","serif"'>0:</span></p>
+
+<p class=MsoListParagraphCxSpMiddle style='margin-left:.25in'><span
+style='font-family:"Times New Roman","serif"'>Similarly to 1), we get</span></p>
+
+<p class=MsoListParagraphCxSpMiddle style='margin-left:.25in'>
+<img src="img/sm_image019.gif">                                                                                        
+<span style='font-family:"Times New Roman","serif"'> ---- 6)</span></p>
+
+<p class=MsoListParagraphCxSpMiddle style='margin-left:.25in'><span
+style='font-family:"Times New Roman","serif"'>for  q<sub>p</sub> = q<sub>i</sub>
+- </span><span style='position:relative;top:6.0pt'><img 
+src="img/sm_image012.gif"></span><span style='font-family:
+"Times New Roman","serif"'> and</span> <span style='font-family:"Times New Roman","serif"'>q<sub>N</sub>
+= q<sub>i</sub> + </span><span style='position:relative;top:6.0pt'><img
+ src="img/sm_image012.gif"></span>.  <span
+style='position:relative;top:7.0pt'><img 
+src="img/sm_image018.gif"></span> <span style='font-family:
+"Times New Roman","serif"'>= 0 for <i>I<sub>s</sub></i> in</span> <i><span
+style='font-family:"Times New Roman","serif"'>j &lt; p</span></i><span
+style='font-family:"Times New Roman","serif"'> or<i> j&gt;N-1</i>.</span></p>
+
+<p class=MsoListParagraphCxSpMiddle style='margin-left:.25in'>&nbsp;</p>
+
+<p class=MsoListParagraphCxSpMiddle style='margin-left:.25in;text-indent:-.25in'><span
+style='font-family:"Times New Roman","serif"'>3)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+</span></span><span style='font-family:"Times New Roman","serif"'>For  </span><span
+style='position:relative;top:6.0pt'><img 
+src="img/sm_image011.gif"></span>= <span style='font-family:
+"Times New Roman","serif"'>constant </span> <span style='font-family:"Times New Roman","serif"'>and
+</span><span style='position:relative;top:6.0pt'><img 
+src="img/sm_image011.gif"></span> = <span style='font-family:
+"Times New Roman","serif"'>constant:</span></p>
+
+<p class=MsoListParagraphCxSpMiddle style='margin-left:.25in'><span
+style='font-family:"Times New Roman","serif"'>This case, the best way is to
+perform the integration, Eq. (1), numerically for both slit height and width.
+However, the numerical integration is not correct enough unless given a large
+number of iteration, say at least 10000 by 10000 for each element of the matrix
+W, which will take minutes and minutes to finish the calculation for a set of
+typical SAS data. An alternative way which is correct for slit width &lt;&lt;
+slit hight, is used in the SASView:  This method is a mixed method that
+combines the method 1) with the numerical integration for the slit width.</span></p>
+
+<p class=MsoListParagraphCxSpMiddle style='margin-left:.25in'>
+</p>
+
+<p class=MsoListParagraphCxSpMiddle style='margin-left:.25in'>
+<img src="img/sm_image020.gif">    <span style='font-family:
+"Times New Roman","serif"'> ---- (7)</span></p>
+
+<p class=MsoListParagraphCxSpMiddle style='margin-left:.25in'><span
+style='font-family:"Times New Roman","serif"'>for  q<sub>p</sub> = q<sub>i</sub>
+- </span><span style='position:relative;top:6.0pt'><img 
+src="img/sm_image012.gif"></span><span style='font-family:
+"Times New Roman","serif"'> and</span> <span style='font-family:"Times New Roman","serif"'>q<sub>N</sub>
+= q<sub>i</sub> + </span><span style='position:relative;top:6.0pt'><img
+ src="img/sm_image012.gif"></span>.  <span
+style='position:relative;top:7.0pt'><img 
+src="img/sm_image018.gif"></span> <span style='font-family:
+"Times New Roman","serif"'>= 0 for <i>I<sub>s</sub></i> in</span> <i><span
+style='font-family:"Times New Roman","serif"'>j &lt; p</span></i><span
+style='font-family:"Times New Roman","serif"'> or<i> j&gt;N-1</i>. </span></p>
+
+<p class=MsoListParagraphCxSpMiddle style='margin-left:.25in'><span
+style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
+
+<p class=MsoListParagraphCxSpMiddle style='margin-left:.25in'><span
+style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
+
+<p class=MsoListParagraphCxSpLast><span style='font-size:14.0pt;line-height:
+115%;font-family:"Times New Roman","serif"'><h5><a name="Pinhole Smear">Pinhole Smear</a></h5></span></p>
+
+<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'>The
+pinhole smearing computation is done similar to the Case 2) above except that
+the weight function used was the Gaussian function, so that the Eq. 6) for this
+case becomes</span></p>
+
+<p class=MsoNormal><img src="img/sm_image021.gif"><span
+style='font-family:"Times New Roman","serif"'>   ---- (8)</span></p>
+
+<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'>For all
+the cases above, the weighting matrix <i>W</i> is calculated when the smearing
+is called at the first time, and it includes the ~ 60 q values (finely binned
+evenly) below (&gt;0) and above the q range of data in order to cover all data
+points of the smearing computation for a given model and for a given slit size.
+ The <i>Norm</i> factor is found numerically with the weighting matrix, and
+considered on <i>I<sub>s</sub></i> computation.</span></p>
+
+<p class=MsoListParagraphCxSpFirst style='margin-left:.25in'><span
+style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
+
+<p class=MsoListParagraphCxSpLast><span style='font-size:14.0pt;line-height:
+115%;font-family:"Times New Roman","serif"'><h5><a name="2D Smear">2D Smear</a></h5></span></p>
+
+<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'>The
+2D smearing computation is done similar to the 1D pinhole smearing above
+except that the weight function used was the 2D elliptical Gaussian function</span></p>
+
+<p class=MsoNormal><img src="img/sm_image022.gif"><span
+style='font-family:"Times New Roman","serif"'>     ---- (9)</span></p>
+
+<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'>In Eq
+(9), x<sub>0</sub> = qcos&#952;</span><span
+style='font-family:"Times New Roman","serif"'> and y<sub>0</sub> = qsin&#952;</span><span style='font-family:"Times New Roman","serif"'>
+, and the primed axes are in the coordinate rotated by an angle &#952;</span><span style='font-family:"Times New Roman","serif"'>
+around z-axis (below) so that x<sub>0</sub> =  x<sub>0</sub>cos&#952; + </span><span style='font-family:"Times New Roman","serif"'>y<sub>0</sub>
+sin&#952;  </span><span style='font-family:
+"Times New Roman","serif"'>and y<sub>0</sub> =  -x<sub>0</sub>sin&#952; + </span><span style='font-family:"Times New Roman","serif"'>y<sub>0</sub>
+cos&#952;.</span><span style='font-family:
+"Times New Roman","serif"'> Note that the rotation angle is zero for x-y
+symmetric elliptical Gaussian distribution</span>.
+<span style='font-family:"Times New Roman","serif"'>The  A is a
+normalization factor.</span></p>
+
+<p class=MsoNormal align=center style='text-align:center'><span
+style='font-family:"Times New Roman","serif"'><img 
+id="Object 1" src="img/sm_image023.gif"></span></p>
+
+<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
+
+<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'>Now we
+consider a numerical integration where each bins in </span> &#920; </span><span style='font-family:"Times New Roman","serif"'>
+and R are <b>evenly </b>(this is to simplify the equation below) distributed by
+</span>&#916;&#920; </span><span style='font-family:
+"Times New Roman","serif"'>and </span> &#916;</span><span
+style='font-family:"Times New Roman","serif"'>R, respectively, and it is
+assumed that I(x, y) is constant within the bins which in turn becomes</span></p>
+
+<p class=MsoNormal><img src="img/sm_image024.gif"></p>
+
+<p class=MsoNormal>                                                                                                                                                                                <span
+style='font-family:"Times New Roman","serif"'> ---- (10)</span></p>
+
+<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'>Since we
+have found the weighting factor on each bin points, it is convenient to
+transform x-y back to x-y coordinate (rotating it by -&#952;</span><span style='font-family:"Times New Roman","serif"'>
+around z axis).  Then, for the polar symmetric smear,</span></p>
+
+<p class=MsoNormal><img src="img/sm_image025.gif"><span
+style='position:relative;top:35.0pt'>      </span> ---- (11)</p>
+
+<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'>where,</span></p>
+
+<p class=MsoNormal><img src="img/sm_image026.gif">,</p>
+
+<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'>while
+for the x-y symmetric smear,</span></p>
+
+<p class=MsoNormal><img src="img/sm_image027.gif"><span
+style='font-family:"Times New Roman","serif"'>  ---- (12)</span></p>
+
+<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'>where,</span></p>
+
+<p class=MsoNormal><img src="img/sm_image028.gif"></p>
+
+<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'>Here, the
+current version of the SASVIEW uses the Eq. (11) for 2D smearing assuming that
+all the Gaussian weighting functions are aligned in the polar coordinate. </span></p>
+<p> In the control panel, the higher accuracy indicates more and finer binnng points 
+so that it costs more in time. </p>
+
+
+</div>
+
+</body>
+
