Index: sansmodels/src/sans/models/media/pd_help.html
===================================================================
--- sansmodels/src/sans/models/media/pd_help.html	(revision 17574ae6b0cad29604b5f9e20e14c24c59a49851)
+++ sansmodels/src/sans/models/media/pd_help.html	(revision 318b5bbbcb046db18a8e953dccae04fc7b8a71e0)
@@ -1,4 +1,2 @@
-<html>
-
 <head>
 <meta http-equiv=Content-Type content="text/html; charset=windows-1252">
@@ -29,5 +27,4 @@
 style='font-family:"Times New Roman","serif"'>The following five distribution
 functions are provided;</span></p>
-<p>&nbsp;</p>
 <ul>
 <li><a href="#Rectangular">Rectangular distribution</a></li>
@@ -38,275 +35,148 @@
 </ul>
 <p>&nbsp;</p>
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>&nbsp;</span></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 class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>&nbsp;</span></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 SansView during the
+computation.</p>
 
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'><a name="Rectangular"><h4>Rectangular distribution</a></h4></span></p>
+<p>Example of an array in the file;</p>
 
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif";position:relative;top:22.0pt'><img
-width=248 height=67 src="./img/pd_image001.png"></span></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 class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>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.</span></p>
 
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>The standard deviation is </span></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 class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif";position:relative;top:4.0pt'><img
-width=72 height=24 src="./img/pd_image002.png"></span><span
-style='font-family:"Times New Roman","serif"'>. </span></p>
+<p>&nbsp;</p>
 
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
+<p>The PD (polydispersity) is </p>
 
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>The PD (polydispersity) is </span></p>
+<p><img src="./img/pd_image003.png"></p>
 
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif";position:relative;top:6.0pt'><img
-width=93 height=24 src="./img/pd_image003.png"></span><span
-style='font-family:"Times New Roman","serif"'>.</span></p>
+<p>&nbsp;</p>
 
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
+<p><img width=518 height=275
+id="Picture 2" src="./img/pd_image006.jpg" alt=gauss.gif></p>
 
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'><img width=511 height=270
-id="Picture 1" src="./img/pd_image004.jpg" alt=flat.gif></span></p>
+<p>&nbsp;</p>
 
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
+<p><a name="Lognormal"><h4>Lognormal distribution</h4></a></p>
 
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
+<p>&nbsp;</p>
 
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'><a name="Array"><h4>Array distribution</h4></a></span></p>
+<p><img src="./img/pd_image007.png"></p>
 
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
+<p>&nbsp;</p>
 
-
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>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 SansView during the
-computation.</span></p>
-
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
-
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>Example of an array in the file;</span></p>
-
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
-
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>30        0.1</span></p>
-
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>32        0.3</span></p>
-
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>35        0.4</span></p>
-
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>36        0.5</span></p>
-
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>37        0.6</span></p>
-
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>39        0.7</span></p>
-
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>41        0.9</span></p>
-
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
-
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>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.</span></p>
-
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
-
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
-
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'><a name="Gaussian"><h4>Gaussian distribution</h4></a></span></p>
-
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
-
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif";position:relative;top:12.0pt'><img
-width=212 height=44 src="./img/pd_image005.png"></span></p>
-
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
-
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>The x<sub>mean</sub> is the mean
-of the distribution and Norm is a normalization factor which is determined
-during the numerical calculation.</span></p>
-
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
-
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>The PD (polydispersity) is </span></p>
-
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif";position:relative;top:6.0pt'><img
-width=93 height=24 src="./img/pd_image003.png"></span><span
-style='font-family:"Times New Roman","serif"'>.</span></p>
-
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
-
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'><img width=518 height=275
-id="Picture 2" src="./img/pd_image006.jpg" alt=gauss.gif></span></p>
-
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
-
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
-
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'><a name="Lognormal"><h4>Lognormal distribution</h4></a></span></p>
-
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
-
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
-
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif";position:relative;top:14.0pt'><img
-width=236 height=47 src="./img/pd_image007.png"></span></p>
-
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
-
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>The mu = ln(x<sub>med</sub>),  x<sub>med</sub>
+<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.</span></p>
+radius = 60.</p>
 
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
+<p >&nbsp;</p>
 
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>The PD (polydispersity) is given
-by sigma,</span></p>
+<p>The PD (polydispersity) is given
+by &#963;,</p>
 
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif";position:relative;top:5.0pt'><img
-width=55 height=21 src="./img/pd_image008.png"></span><span
-style='font-family:"Times New Roman","serif"'>.</span></p>
+<p><img src="./img/pd_image008.png"></p>
 
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
+<p>&nbsp;</p>
 
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>For the angular distribution,</span></p>
+<p>For the angular distribution,</p>
 
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif";position:relative;top:6.0pt'><img
-width=76 height=24 src="./img/pd_image009.png"></span></p>
+<p><img src="./img/pd_image009.png"></p>
 
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
+<p>&nbsp;</p>
 
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>The mean value is given by x<sub>mean</sub>
-=exp(mu+p^2/2).</span></p>
+<p>The mean value is given by x<sub>mean</sub>
+=exp(&#956;+p<sup>2</sup>/2).</p>
 
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>The peak value is given by x<sub>peak</sub>=exp(mu-p^2).</span></p>
+<p>The peak value is given by x<sub>peak</sub>=exp(&#956;-p<sup>2</sup>).</span></p>
 
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
+<p>&nbsp;</p>
 
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'><img width=450 height=239
-id="Picture 7" src="./img/pd_image010.jpg" alt=lognormal.gif></span></p>
+<p><img width=450 height=239
+id="Picture 7" src="./img/pd_image010.jpg" alt=lognormal.gif></p>
 
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
+<p>&nbsp;</p>
 
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>This distribution function
+<p>This distribution function
 spreads more and the peak shifts to the left as the p increases, requiring
-higher values of Nsigmas and Npts.</span></p>
+higher values of Nsigmas and Npts.</p>
 
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
+<p>&nbsp;</p>
 
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
+<p><a name="Schulz"><h4>Schulz distribution</h4></a></p>
 
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'><a name="Schulz"><h4>Schulz distribution</h4></a></span></p>
+<p>&nbsp;</p>
 
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
+<p><img src="./img/pd_image011.png"></p>
 
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif";position:relative;top:15.0pt'><img
-width=347 height=45 src="./img/pd_image011.png"></span></p>
+<p>&nbsp;</p>
 
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>&nbsp;</span></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 class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>The x<sub>mean</sub> is the mean
-of the distribution and Norm is a normalization factor which is determined
-during the numerical calculation. </span></p>
+<p>The z = 1/p<sup>2</sup>  1.</p>
+<p>&nbsp;</p>
 
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>The z = 1/p^2  1.</span></p>
-
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
-
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>The PD (polydispersity) is </span></p>
-
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif";position:relative;top:6.0pt'><img
-width=80 height=24 src="./img/pd_image012.png"></span><span
-style='font-family:"Times New Roman","serif"'>.</span></p>
-<p/>
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'>Note that the higher PD (polydispersity)
+<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.</span></p>
+ Npts >= 160, and Nsigmas >= 15 at least.</p>
  <p/>
-<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
-style='font-family:"Times New Roman","serif"'><img width=438 height=232
-id="Picture 4" src="./img/pd_image013.jpg" alt=schulz.gif></span></p>
+<p><img width=438 height=232
+id="Picture 4" src="./img/pd_image013.jpg" alt=schulz.gif></p>
 
 </div>
-
+<br>
 </body>
-
-</html>
