Index: src/sas/perspectives/invariant/media/invariant_help.html
===================================================================
--- src/sas/perspectives/invariant/media/invariant_help.html	(revision 794922220f2fb3b23dd08c648aabf87b4850596c)
+++ 	(revision )
@@ -1,395 +1,0 @@
-<html>
-
-<head>
-<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
-<meta name=Generator content="Microsoft Word 12 (filtered)">
-<style>
-<!--
- /* Font Definitions */
- @font-face
-	{font-family:Wingdings;
-	panose-1:5 0 0 0 0 0 0 0 0 0;}
-@font-face
-	{font-family:"Cambria Math";
-	panose-1:2 4 5 3 5 4 6 3 2 4;}
-@font-face
-	{font-family:Calibri;
-	panose-1:2 15 5 2 2 2 4 3 2 4;}
-@font-face
-	{font-family:Tahoma;
-	panose-1:2 11 6 4 3 5 4 4 2 4;}
- /* Style Definitions */
- p.MsoNormal, li.MsoNormal, div.MsoNormal
-	{margin-top:0in;
-	margin-right:0in;
-	margin-bottom:10.0pt;
-	margin-left:0in;
-	line-height:115%;
-	font-size:11.0pt;
-	font-family:"Calibri","sans-serif";}
-a:link, span.MsoHyperlink
-	{color:blue;
-	text-decoration:underline;}
-a:visited, span.MsoHyperlinkFollowed
-	{color:purple;
-	text-decoration:underline;}
-p
-	{margin-right:0in;
-	margin-left:0in;
-	font-size:12.0pt;
-	font-family:"Times New Roman","serif";}
-p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
-	{mso-style-link:"Balloon Text Char";
-	margin:0in;
-	margin-bottom:.0001pt;
-	font-size:8.0pt;
-	font-family:"Tahoma","sans-serif";}
-p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
-	{margin-top:0in;
-	margin-right:0in;
-	margin-bottom:10.0pt;
-	margin-left:.5in;
-	line-height:115%;
-	font-size:11.0pt;
-	font-family:"Calibri","sans-serif";}
-p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst
-	{margin-top:0in;
-	margin-right:0in;
-	margin-bottom:0in;
-	margin-left:.5in;
-	margin-bottom:.0001pt;
-	line-height:115%;
-	font-size:11.0pt;
-	font-family:"Calibri","sans-serif";}
-p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle
-	{margin-top:0in;
-	margin-right:0in;
-	margin-bottom:0in;
-	margin-left:.5in;
-	margin-bottom:.0001pt;
-	line-height:115%;
-	font-size:11.0pt;
-	font-family:"Calibri","sans-serif";}
-p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast
-	{margin-top:0in;
-	margin-right:0in;
-	margin-bottom:10.0pt;
-	margin-left:.5in;
-	line-height:115%;
-	font-size:11.0pt;
-	font-family:"Calibri","sans-serif";}
-span.BalloonTextChar
-	{mso-style-name:"Balloon Text Char";
-	mso-style-link:"Balloon Text";
-	font-family:"Tahoma","sans-serif";}
-.MsoPapDefault
-	{margin-bottom:10.0pt;
-	line-height:115%;}
-@page Section1
-	{size:8.5in 11.0in;
-	margin:1.0in 1.0in 1.0in 1.0in;}
-div.Section1
-	{page:Section1;}
- /* List Definitions */
- ol
-	{margin-bottom:0in;}
-ul
-	{margin-bottom:0in;}
--->
-</style>
-
-</head>
-
-<body lang=EN-US link=blue vlink=purple>
-
-<div class=Section1>
-
-<p class=MsoListParagraphCxSpFirst style='text-indent:-.25in;line-height:normal'><span
-style='font-family:Symbol'>·<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</span></span><b><span style='font-family:"Times New Roman","serif"'><a
-href="#invariant">Scattering Invariant</a></span></b></p>
-
-<p class=MsoListParagraphCxSpMiddle style='text-indent:-.25in;line-height:normal'><span
-style='font-family:Symbol'>·<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</span></span><a href="#volume"><b><span style='font-family:"Times New Roman","serif"'>Volume
-Fraction</span></b></a></p>
-
-<p class=MsoListParagraphCxSpMiddle style='text-indent:-.25in;line-height:normal'><span
-style='font-family:Symbol'>·<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</span></span><a href="#surface"><b><span style='font-family:"Times New Roman","serif"'>Specific
-Surface Area</span></b></a></p>
-
-<p class=MsoListParagraphCxSpLast style='text-indent:-.25in;line-height:normal'><span
-style='font-family:Symbol'>·<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</span></span><a href="#howto"><b><span style='font-family:"Times New Roman","serif"'>How
-to Compute</span></b></a></p>
-
-<p class=MsoNormal style='line-height:normal'><b><span style='font-family:"Times New Roman","serif"'>The
-scattering <a name=invariant>invariant</a> (Q*)</span></b><span
-style='font-family:"Times New Roman","serif"'> </span></p>
-
-<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
-
-<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'>The
-scattering invariant (Q*) is a model-independent quantity that can be easily
-calculated from </span></p>
-
-<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'>scattering
-data. For two phase systems, the scattering invariant, Q*, is defined as the
-integral of</span></p>
-
-<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'> the
-square of the wave transfer (q) multiplied by the scattering cross section over
-the full range of q. </span></p>
-
-<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'>Q*
-is given by the following equation, </span></p>
-
-<p class=MsoNormal style='line-height:normal'>
-
-<table cellpadding=0 cellspacing=0 align=left>
- <tr>
-  <td width=2 height=4></td>
- </tr>
- <tr>
-  <td></td>
-  <td><img width=127 height=35 src="image001.gif"></td>
- </tr>
-</table>
-
-<span style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
-
-<p class=MsoNormal style='line-height:150%'><span style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
-
-<br clear=ALL>
-
-<p class=MsoNormal style='line-height:150%'><span style='font-family:"Times New Roman","serif"'>This
-model independent quantity (Q*) is calculated from the scattering data that can
-be used to determine the volume fraction and the specific area of the sample
-under consideration. &nbsp;These quantities&nbsp;are useful in their own right
-and can be used in&nbsp;further analysis. With this scattering invariant module
-users will also be able to determine the consistency of those properties
-between data.&nbsp; There is no real data defined from zero to infinity, there
-usually have limited range. Q* is not really computed from zero to infinity.
-Our maximum q range is 1e-5 ~ 10 (1/A). The lower and/or higher q range than
-data given can be extrapolated by fitting some data nearby.</span></p>
-
-<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'>The
-scattering invariant is computed as follow:</span></p>
-
-<p class=MsoNormal style='margin-left:.5in;text-indent:-.25in;line-height:normal'><span
-style='font-family:"Arial","sans-serif"'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</span></span><i><span style='font-family:"Times New Roman","serif"'>I(q)</span></i><span
-style='font-family:"Times New Roman","serif"'> =  <i>I(q)</i> w/o background :
-If the data includes a background, user sets the value to subtract the background
-for the Q* computation.</span></p>
-
-<p class=MsoNormal style='margin-left:.5in;text-indent:-.25in;line-height:normal'><span
-style='font-family:"Arial","sans-serif"'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</span></span><span style='font-family:"Times New Roman","serif"'>Reset<i>
-I(q)  </i></span><span style='font-family:"Times New Roman","serif"'>= <i>I(q)*
-scaling factor </i>, delta<i>I(q) =  </i>delta<i>I(q)*scaling factor</i> : If
-non-zero scaling factor is given, it will be considered.</span></p>
-
-<p class=MsoNormal style='margin-left:.5in;text-indent:-.25in;line-height:normal'><span
-style='font-family:"Arial","sans-serif"'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</span></span><span style='font-family:"Times New Roman","serif"'> Invariant:</span></p>
-
-<p class=MsoNormal style='margin-left:.25in;line-height:normal'>
-
-<table cellpadding=0 cellspacing=0 align=left>
- <tr>
-  <td width=45 height=12></td>
- </tr>
- <tr>
-  <td></td>
-  <td><img width=127 height=35 src="image001.gif"></td>
- </tr>
-</table>
-
-<span style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
-
-<br clear=ALL>
-
-<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'> </span></p>
-
-<p class=MsoNormal style='margin-left:.5in;text-indent:-.5in;line-height:normal'><span
-style='font-family:"Times New Roman","serif"'>            where, <i>g =q</i>
-for the pinhole geometry and <i>g =<sub> </sub>q<sub>v</sub></i>(the slit
-height) for the slit geometry which can be given in data or as a value.</span></p>
-
-<p class=MsoNormal style='margin-left:.5in;text-indent:-.25in;line-height:normal'><span
-style='font-family:"Arial","sans-serif"'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</span></span><span style='font-family:"Times New Roman","serif"'>&nbsp;Higher
-q-region (&gt;= qmax in data): </span></p>
-
-<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'>            Power
-law (w/o background term) function = C/q<sup>4</sup> will be used </span></p>
-
-<p class=MsoNormal style='margin-left:.5in;text-indent:-.5in;line-height:normal'><span
-style='font-family:"Times New Roman","serif"'>            where the constant
-C(=2pi(delta(rho))S<sub>v</sub>) is to be found by fitting part of data with
-the range of q<sub>N-m</sub>  to q<sub>N</sub> (m&lt;N).</span></p>
-
-<p class=MsoNormal style='margin-left:.5in;text-indent:-.25in;line-height:normal'><span
-style='font-family:"Arial","sans-serif"'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</span></span><span style='font-family:"Times New Roman","serif"'> Lower
-q-region (&lt;= qmin in data): </span></p>
-
-<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'>            Guinier
-function = <i>I<sub>0</sub>exp(-R<sub>g</sub><sup>2</sup>q<sup>2</sup>/3)</i>
-where I<sub>0</sub> and R<sub>g</sub> are obtained by fitting, </span></p>
-
-<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'>            similarly
-to the high q region above.</span></p>
-
-<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'>            Power
-law can also be used.</span></p>
-
-<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'>&nbsp;</span><b>The
-<a name=volume>volume </a>fraction</b>: </p>
-
-<p class=MsoNormal style='line-height:normal'><span style='position:absolute;
-z-index:3;margin-left:1px;margin-top:9px;width:161px;height:47px'><img
-width=161 height=47 src="image002.gif"></span><span
-style='font-family:"Times New Roman","serif"'> </span></p>
-
-<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'> </span></p>
-
-<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'>where
-delta(rho) is the SLD contrast of which value is given by users.</span></p>
-
-<p class=MsoNormal style='line-height:normal'><span style='position:absolute;
-z-index:4;margin-left:1px;margin-top:29px;width:101px;height:45px'><img
-width=101 height=45 src="image003.gif"></span><span
-style='font-family:"Times New Roman","serif"'>Thus,  </span></p>
-
-<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
-
-<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
-
-<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'> where
-0 =&lt; <i>A</i> =&lt;1/4 in order for these values to be physically valid.</span></p>
-
-<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
-
-<p class=MsoNormal style='line-height:normal'><b><span style='font-family:"Times New Roman","serif"'>The
-<a name=surface>specific surface area </a>:</span></b></p>
-
-<p class=MsoNormal style='line-height:normal'>
-
-<table cellpadding=0 cellspacing=0 align=left>
- <tr>
-  <td width=1 height=3></td>
- </tr>
- <tr>
-  <td></td>
-  <td><img width=184 height=47 src="image004.gif"></td>
- </tr>
-</table>
-
-<b><span style='font-family:"Times New Roman","serif"'>&nbsp;</span></b></p>
-
-<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
-
-<br clear=ALL>
-
-<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'> where
-<i>A</i> and <i>Q<sup>*</sup></i> are obtained from previous sections, and the
-Porod constant <i>C<sub>p</sub></i> is given by users. </span></p>
-
-<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
-
-<p class=MsoNormal style='line-height:normal'><b><span style='font-family:"Times New Roman","serif"'>Definitions:</span></b><span
-style='font-family:"Times New Roman","serif"'> </span></p>
-
-<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'>Q&nbsp;:
-the magnitude of neutron (or X-ray) momentum transfer vector.</span></p>
-
-<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'>I(Q):
-the scattering intensity as a function of the momentum transfer Q.</span></p>
-
-<p class=MsoNormal style='line-height:150%'><span style='font-family:"Times New Roman","serif"'>Invariant
-total is the sum of the invariant calculated from datas q range and the
-invariant resulting from extrapolation at low q range and at high q range if
-considered.</span></p>
-
-<p class=MsoNormal style='line-height:150%'><span style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
-
-<p class=MsoNormal style='line-height:normal'><a name=reference><b><span
-style='font-family:"Times New Roman","serif"'>Reference</span></b></a><b><span
-style='font-family:"Times New Roman","serif"'>: </span></b></p>
-
-<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'>Porod's
-chapter (2) from  O. Glatter and O. Kratky, &quot;Small Angle X-Ray
-Scattering&quot;, Academic Press, New York, 1982</span></p>
-
-<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'>Otto's
-web page: </span><a href="http://physchem.kfunigraz.ac.at/sm/"><span
-style='font-family:"Times New Roman","serif"'>http://physchem.kfunigraz.ac.at/sm/</span></a><span
-style='font-family:"Times New Roman","serif"'> </span></p>
-
-<p class=MsoNormal style='line-height:normal'><a name=howto><b><span
-style='font-family:"Times New Roman","serif"'>HowTo</span></b></a><b><span
-style='font-family:"Times New Roman","serif"'>:</span></b></p>
-
-<p class=MsoNormal style='margin-left:.5in;text-indent:-.5in;line-height:normal'><span
-style='font-family:"Times New Roman","serif"'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</span>i)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</span></span><span style='font-family:"Times New Roman","serif"'>Loading data
-to the panel: Open the data file from File in the menu bar. Select loaded data
-from a plot panel by highlighting that it until its color turns yellow. Then
-right click on that the data and selects the option Compute Invariant. The
-application automatically computes the invariant value if the data loaded is
-valid.</span></p>
-
-<p class=MsoNormal style='margin-left:.5in;text-indent:-.5in;line-height:normal'><span
-style='font-family:"Times New Roman","serif"'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</span>ii)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</span></span><span style='font-family:"Times New Roman","serif"'>To subtract a
-background or/and to rescale the data, type the values in Customized Input
-box.  </span></p>
-
-<p class=MsoNormal style='margin-left:.5in;text-indent:-.5in;line-height:normal'><span
-style='font-family:"Times New Roman","serif"'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;
-</span>iii)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</span></span><span style='font-family:"Times New Roman","serif"'>If you want
-to calculate the volume fraction and the specific surface area, type the
-optional inputs in the customized input box, and then press Compute button.</span></p>
-
-<p class=MsoNormal style='margin-left:.5in;text-indent:-.5in;line-height:normal'><span
-style='font-family:"Times New Roman","serif"'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;
-</span>iv)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</span></span><span style='font-family:"Times New Roman","serif"'>The invariant
-can also be calculated including the outside of the data Q range:  To include
-the lower Q and/or the higher Q range, check in the enable extrapolation check
-box in Extrapolation box. If the power low is chosen, the power (exponent)
-can be either held or fitted by checking the corresponding radio button.  The
-Npts that is being used for the extrapolation can be specified.</span></p>
-
-<p class=MsoNormal style='margin-left:.5in;text-indent:-.5in;line-height:normal'><span
-style='font-family:"Times New Roman","serif"'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</span>v)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</span></span><span style='font-family:"Times New Roman","serif"'>If the
-invariant calculated from the extrapolated region is too large, it will be warn
-in red at the top of the panel, which means that your data is not proper to
-calculate the invariant.</span></p>
-
-<p class=MsoNormal style='margin-left:.5in;text-indent:-.5in;line-height:normal'><span
-style='font-family:"Times New Roman","serif"'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;
-</span>vi)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</span></span><span style='font-family:"Times New Roman","serif"'>The details
-of the calculation is available by clicking the Details button in the middle
-of the panel. </span></p>
-
-<p class=MsoNormal align=center style='text-align:center;line-height:normal'><span
-style='font-family:"Times New Roman","serif"'><img border=0 width=572
-height=449 id="Object 4" src="image005.gif"></span></p>
-
-<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
-
-</div>
-
-</body>
-
-</html>
Index: src/sas/perspectives/invariant/media/invariant_help_v0.html
===================================================================
--- src/sas/perspectives/invariant/media/invariant_help_v0.html	(revision 36c59101b3167d138f038eddeae56d81f8d65305)
+++ src/sas/perspectives/invariant/media/invariant_help_v0.html	(revision 36c59101b3167d138f038eddeae56d81f8d65305)
@@ -0,0 +1,395 @@
+<html>
+
+<head>
+<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
+<meta name=Generator content="Microsoft Word 12 (filtered)">
+<style>
+<!--
+ /* Font Definitions */
+ @font-face
+	{font-family:Wingdings;
+	panose-1:5 0 0 0 0 0 0 0 0 0;}
+@font-face
+	{font-family:"Cambria Math";
+	panose-1:2 4 5 3 5 4 6 3 2 4;}
+@font-face
+	{font-family:Calibri;
+	panose-1:2 15 5 2 2 2 4 3 2 4;}
+@font-face
+	{font-family:Tahoma;
+	panose-1:2 11 6 4 3 5 4 4 2 4;}
+ /* Style Definitions */
+ p.MsoNormal, li.MsoNormal, div.MsoNormal
+	{margin-top:0in;
+	margin-right:0in;
+	margin-bottom:10.0pt;
+	margin-left:0in;
+	line-height:115%;
+	font-size:11.0pt;
+	font-family:"Calibri","sans-serif";}
+a:link, span.MsoHyperlink
+	{color:blue;
+	text-decoration:underline;}
+a:visited, span.MsoHyperlinkFollowed
+	{color:purple;
+	text-decoration:underline;}
+p
+	{margin-right:0in;
+	margin-left:0in;
+	font-size:12.0pt;
+	font-family:"Times New Roman","serif";}
+p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
+	{mso-style-link:"Balloon Text Char";
+	margin:0in;
+	margin-bottom:.0001pt;
+	font-size:8.0pt;
+	font-family:"Tahoma","sans-serif";}
+p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
+	{margin-top:0in;
+	margin-right:0in;
+	margin-bottom:10.0pt;
+	margin-left:.5in;
+	line-height:115%;
+	font-size:11.0pt;
+	font-family:"Calibri","sans-serif";}
+p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst
+	{margin-top:0in;
+	margin-right:0in;
+	margin-bottom:0in;
+	margin-left:.5in;
+	margin-bottom:.0001pt;
+	line-height:115%;
+	font-size:11.0pt;
+	font-family:"Calibri","sans-serif";}
+p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle
+	{margin-top:0in;
+	margin-right:0in;
+	margin-bottom:0in;
+	margin-left:.5in;
+	margin-bottom:.0001pt;
+	line-height:115%;
+	font-size:11.0pt;
+	font-family:"Calibri","sans-serif";}
+p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast
+	{margin-top:0in;
+	margin-right:0in;
+	margin-bottom:10.0pt;
+	margin-left:.5in;
+	line-height:115%;
+	font-size:11.0pt;
+	font-family:"Calibri","sans-serif";}
+span.BalloonTextChar
+	{mso-style-name:"Balloon Text Char";
+	mso-style-link:"Balloon Text";
+	font-family:"Tahoma","sans-serif";}
+.MsoPapDefault
+	{margin-bottom:10.0pt;
+	line-height:115%;}
+@page Section1
+	{size:8.5in 11.0in;
+	margin:1.0in 1.0in 1.0in 1.0in;}
+div.Section1
+	{page:Section1;}
+ /* List Definitions */
+ ol
+	{margin-bottom:0in;}
+ul
+	{margin-bottom:0in;}
+-->
+</style>
+
+</head>
+
+<body lang=EN-US link=blue vlink=purple>
+
+<div class=Section1>
+
+<p class=MsoListParagraphCxSpFirst style='text-indent:-.25in;line-height:normal'><span
+style='font-family:Symbol'>·<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+</span></span><b><span style='font-family:"Times New Roman","serif"'><a
+href="#invariant">Scattering Invariant</a></span></b></p>
+
+<p class=MsoListParagraphCxSpMiddle style='text-indent:-.25in;line-height:normal'><span
+style='font-family:Symbol'>·<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+</span></span><a href="#volume"><b><span style='font-family:"Times New Roman","serif"'>Volume
+Fraction</span></b></a></p>
+
+<p class=MsoListParagraphCxSpMiddle style='text-indent:-.25in;line-height:normal'><span
+style='font-family:Symbol'>·<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+</span></span><a href="#surface"><b><span style='font-family:"Times New Roman","serif"'>Specific
+Surface Area</span></b></a></p>
+
+<p class=MsoListParagraphCxSpLast style='text-indent:-.25in;line-height:normal'><span
+style='font-family:Symbol'>·<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+</span></span><a href="#howto"><b><span style='font-family:"Times New Roman","serif"'>How
+to Compute</span></b></a></p>
+
+<p class=MsoNormal style='line-height:normal'><b><span style='font-family:"Times New Roman","serif"'>The
+scattering <a name=invariant>invariant</a> (Q*)</span></b><span
+style='font-family:"Times New Roman","serif"'> </span></p>
+
+<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
+
+<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'>The
+scattering invariant (Q*) is a model-independent quantity that can be easily
+calculated from </span></p>
+
+<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'>scattering
+data. For two phase systems, the scattering invariant, Q*, is defined as the
+integral of</span></p>
+
+<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'> the
+square of the wave transfer (q) multiplied by the scattering cross section over
+the full range of q. </span></p>
+
+<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'>Q*
+is given by the following equation, </span></p>
+
+<p class=MsoNormal style='line-height:normal'>
+
+<table cellpadding=0 cellspacing=0 align=left>
+ <tr>
+  <td width=2 height=4></td>
+ </tr>
+ <tr>
+  <td></td>
+  <td><img width=127 height=35 src="image001.gif"></td>
+ </tr>
+</table>
+
+<span style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
+
+<p class=MsoNormal style='line-height:150%'><span style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
+
+<br clear=ALL>
+
+<p class=MsoNormal style='line-height:150%'><span style='font-family:"Times New Roman","serif"'>This
+model independent quantity (Q*) is calculated from the scattering data that can
+be used to determine the volume fraction and the specific area of the sample
+under consideration. &nbsp;These quantities&nbsp;are useful in their own right
+and can be used in&nbsp;further analysis. With this scattering invariant module
+users will also be able to determine the consistency of those properties
+between data.&nbsp; There is no real data defined from zero to infinity, there
+usually have limited range. Q* is not really computed from zero to infinity.
+Our maximum q range is 1e-5 ~ 10 (1/A). The lower and/or higher q range than
+data given can be extrapolated by fitting some data nearby.</span></p>
+
+<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'>The
+scattering invariant is computed as follow:</span></p>
+
+<p class=MsoNormal style='margin-left:.5in;text-indent:-.25in;line-height:normal'><span
+style='font-family:"Arial","sans-serif"'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+</span></span><i><span style='font-family:"Times New Roman","serif"'>I(q)</span></i><span
+style='font-family:"Times New Roman","serif"'> =  <i>I(q)</i> w/o background :
+If the data includes a background, user sets the value to subtract the background
+for the Q* computation.</span></p>
+
+<p class=MsoNormal style='margin-left:.5in;text-indent:-.25in;line-height:normal'><span
+style='font-family:"Arial","sans-serif"'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+</span></span><span style='font-family:"Times New Roman","serif"'>Reset<i>
+I(q)  </i></span><span style='font-family:"Times New Roman","serif"'>= <i>I(q)*
+scaling factor </i>, delta<i>I(q) =  </i>delta<i>I(q)*scaling factor</i> : If
+non-zero scaling factor is given, it will be considered.</span></p>
+
+<p class=MsoNormal style='margin-left:.5in;text-indent:-.25in;line-height:normal'><span
+style='font-family:"Arial","sans-serif"'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+</span></span><span style='font-family:"Times New Roman","serif"'> Invariant:</span></p>
+
+<p class=MsoNormal style='margin-left:.25in;line-height:normal'>
+
+<table cellpadding=0 cellspacing=0 align=left>
+ <tr>
+  <td width=45 height=12></td>
+ </tr>
+ <tr>
+  <td></td>
+  <td><img width=127 height=35 src="image001.gif"></td>
+ </tr>
+</table>
+
+<span style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
+
+<br clear=ALL>
+
+<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'> </span></p>
+
+<p class=MsoNormal style='margin-left:.5in;text-indent:-.5in;line-height:normal'><span
+style='font-family:"Times New Roman","serif"'>            where, <i>g =q</i>
+for the pinhole geometry and <i>g =<sub> </sub>q<sub>v</sub></i>(the slit
+height) for the slit geometry which can be given in data or as a value.</span></p>
+
+<p class=MsoNormal style='margin-left:.5in;text-indent:-.25in;line-height:normal'><span
+style='font-family:"Arial","sans-serif"'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+</span></span><span style='font-family:"Times New Roman","serif"'>&nbsp;Higher
+q-region (&gt;= qmax in data): </span></p>
+
+<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'>            Power
+law (w/o background term) function = C/q<sup>4</sup> will be used </span></p>
+
+<p class=MsoNormal style='margin-left:.5in;text-indent:-.5in;line-height:normal'><span
+style='font-family:"Times New Roman","serif"'>            where the constant
+C(=2pi(delta(rho))S<sub>v</sub>) is to be found by fitting part of data with
+the range of q<sub>N-m</sub>  to q<sub>N</sub> (m&lt;N).</span></p>
+
+<p class=MsoNormal style='margin-left:.5in;text-indent:-.25in;line-height:normal'><span
+style='font-family:"Arial","sans-serif"'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+</span></span><span style='font-family:"Times New Roman","serif"'> Lower
+q-region (&lt;= qmin in data): </span></p>
+
+<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'>            Guinier
+function = <i>I<sub>0</sub>exp(-R<sub>g</sub><sup>2</sup>q<sup>2</sup>/3)</i>
+where I<sub>0</sub> and R<sub>g</sub> are obtained by fitting, </span></p>
+
+<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'>            similarly
+to the high q region above.</span></p>
+
+<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'>            Power
+law can also be used.</span></p>
+
+<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'>&nbsp;</span><b>The
+<a name=volume>volume </a>fraction</b>: </p>
+
+<p class=MsoNormal style='line-height:normal'><span style='position:absolute;
+z-index:3;margin-left:1px;margin-top:9px;width:161px;height:47px'><img
+width=161 height=47 src="image002.gif"></span><span
+style='font-family:"Times New Roman","serif"'> </span></p>
+
+<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'> </span></p>
+
+<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'>where
+delta(rho) is the SLD contrast of which value is given by users.</span></p>
+
+<p class=MsoNormal style='line-height:normal'><span style='position:absolute;
+z-index:4;margin-left:1px;margin-top:29px;width:101px;height:45px'><img
+width=101 height=45 src="image003.gif"></span><span
+style='font-family:"Times New Roman","serif"'>Thus,  </span></p>
+
+<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
+
+<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
+
+<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'> where
+0 =&lt; <i>A</i> =&lt;1/4 in order for these values to be physically valid.</span></p>
+
+<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
+
+<p class=MsoNormal style='line-height:normal'><b><span style='font-family:"Times New Roman","serif"'>The
+<a name=surface>specific surface area </a>:</span></b></p>
+
+<p class=MsoNormal style='line-height:normal'>
+
+<table cellpadding=0 cellspacing=0 align=left>
+ <tr>
+  <td width=1 height=3></td>
+ </tr>
+ <tr>
+  <td></td>
+  <td><img width=184 height=47 src="image004.gif"></td>
+ </tr>
+</table>
+
+<b><span style='font-family:"Times New Roman","serif"'>&nbsp;</span></b></p>
+
+<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
+
+<br clear=ALL>
+
+<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'> where
+<i>A</i> and <i>Q<sup>*</sup></i> are obtained from previous sections, and the
+Porod constant <i>C<sub>p</sub></i> is given by users. </span></p>
+
+<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
+
+<p class=MsoNormal style='line-height:normal'><b><span style='font-family:"Times New Roman","serif"'>Definitions:</span></b><span
+style='font-family:"Times New Roman","serif"'> </span></p>
+
+<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'>Q&nbsp;:
+the magnitude of neutron (or X-ray) momentum transfer vector.</span></p>
+
+<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'>I(Q):
+the scattering intensity as a function of the momentum transfer Q.</span></p>
+
+<p class=MsoNormal style='line-height:150%'><span style='font-family:"Times New Roman","serif"'>Invariant
+total is the sum of the invariant calculated from datas q range and the
+invariant resulting from extrapolation at low q range and at high q range if
+considered.</span></p>
+
+<p class=MsoNormal style='line-height:150%'><span style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
+
+<p class=MsoNormal style='line-height:normal'><a name=reference><b><span
+style='font-family:"Times New Roman","serif"'>Reference</span></b></a><b><span
+style='font-family:"Times New Roman","serif"'>: </span></b></p>
+
+<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'>Porod's
+chapter (2) from  O. Glatter and O. Kratky, &quot;Small Angle X-Ray
+Scattering&quot;, Academic Press, New York, 1982</span></p>
+
+<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'>Otto's
+web page: </span><a href="http://physchem.kfunigraz.ac.at/sm/"><span
+style='font-family:"Times New Roman","serif"'>http://physchem.kfunigraz.ac.at/sm/</span></a><span
+style='font-family:"Times New Roman","serif"'> </span></p>
+
+<p class=MsoNormal style='line-height:normal'><a name=howto><b><span
+style='font-family:"Times New Roman","serif"'>HowTo</span></b></a><b><span
+style='font-family:"Times New Roman","serif"'>:</span></b></p>
+
+<p class=MsoNormal style='margin-left:.5in;text-indent:-.5in;line-height:normal'><span
+style='font-family:"Times New Roman","serif"'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+</span>i)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+</span></span><span style='font-family:"Times New Roman","serif"'>Loading data
+to the panel: Open the data file from File in the menu bar. Select loaded data
+from a plot panel by highlighting that it until its color turns yellow. Then
+right click on that the data and selects the option Compute Invariant. The
+application automatically computes the invariant value if the data loaded is
+valid.</span></p>
+
+<p class=MsoNormal style='margin-left:.5in;text-indent:-.5in;line-height:normal'><span
+style='font-family:"Times New Roman","serif"'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+</span>ii)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+</span></span><span style='font-family:"Times New Roman","serif"'>To subtract a
+background or/and to rescale the data, type the values in Customized Input
+box.  </span></p>
+
+<p class=MsoNormal style='margin-left:.5in;text-indent:-.5in;line-height:normal'><span
+style='font-family:"Times New Roman","serif"'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;
+</span>iii)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+</span></span><span style='font-family:"Times New Roman","serif"'>If you want
+to calculate the volume fraction and the specific surface area, type the
+optional inputs in the customized input box, and then press Compute button.</span></p>
+
+<p class=MsoNormal style='margin-left:.5in;text-indent:-.5in;line-height:normal'><span
+style='font-family:"Times New Roman","serif"'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;
+</span>iv)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+</span></span><span style='font-family:"Times New Roman","serif"'>The invariant
+can also be calculated including the outside of the data Q range:  To include
+the lower Q and/or the higher Q range, check in the enable extrapolation check
+box in Extrapolation box. If the power low is chosen, the power (exponent)
+can be either held or fitted by checking the corresponding radio button.  The
+Npts that is being used for the extrapolation can be specified.</span></p>
+
+<p class=MsoNormal style='margin-left:.5in;text-indent:-.5in;line-height:normal'><span
+style='font-family:"Times New Roman","serif"'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+</span>v)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+</span></span><span style='font-family:"Times New Roman","serif"'>If the
+invariant calculated from the extrapolated region is too large, it will be warn
+in red at the top of the panel, which means that your data is not proper to
+calculate the invariant.</span></p>
+
+<p class=MsoNormal style='margin-left:.5in;text-indent:-.5in;line-height:normal'><span
+style='font-family:"Times New Roman","serif"'><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;
+</span>vi)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+</span></span><span style='font-family:"Times New Roman","serif"'>The details
+of the calculation is available by clicking the Details button in the middle
+of the panel. </span></p>
+
+<p class=MsoNormal align=center style='text-align:center;line-height:normal'><span
+style='font-family:"Times New Roman","serif"'><img border=0 width=572
+height=449 id="Object 4" src="image005.gif"></span></p>
+
+<p class=MsoNormal style='line-height:normal'><span style='font-family:"Times New Roman","serif"'>&nbsp;</span></p>
+
+</div>
+
+</body>
+
+</html>
Index: src/sas/perspectives/invariant/media/report_template.html
===================================================================
--- src/sas/perspectives/invariant/media/report_template.html	(revision 794922220f2fb3b23dd08c648aabf87b4850596c)
+++ 	(revision )
@@ -1,201 +1,0 @@
-<html>
-<head>
-<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
-<meta name=Generator >
-</head>
-<body lang=EN-US>
-<div class=WordSection1>
-<font size='4'>
-<p class=MsoNormal><b><span >%s</span></b></p>
-<p class=MsoNormal><span >%s</span></p>
-</font>
-<font size='3'>
-<p class=MsoNormal><b><span > Input
-parameters</span></b></p>
-<table class=MsoTableGrid border=1 cellspacing=0 cellpadding=0>
- <tr>
-  <td width=170 valign=top>
-  <p class=MsoNormal > Parameter</p>
-  </td>
-  <td width=213 valign=top >
-  <p class=MsoNormal > Value</p>
-  </td>
-  <td width=170 valign=top >
-  <p class=MsoNormal > Unit</p>
-  </td>
- </tr>
- <tr>
-  <td width=170 valign=top >
-  <p class=MsoNormal > scale</p>
-  </td>
-  <td width=213 valign=top >
-  <p class=MsoNormal > %s</p>
-  </td>
-  <td width=170 valign=top >&nbsp;</p>
-  </td>
- </tr>
- <tr>
-  <td width=170 valign=top >
-  <p class=MsoNormal > porod constant</p>
-  </td>
-  <td width=213 valign=top >
-  <p class=MsoNormal > %s</p>
-  </td>
-  <td width=170 valign=top >&nbsp;</p>
-  </td>
- </tr>
- <tr>
-  <td width=170 valign=top>
-  <p class=MsoNormal > background</p>
-  </td>
-  <td width=170 valign=top >
-  <p class=MsoNormal > %s</p>
-  </td>
-  <td width=170 valign=top ><span > cm<sup>-1</sup></span></p>
-  </td>
- </tr>
- <tr>
-  <td width=170 valign=top >
-  <p class=MsoNormal > contrast</p>
-  </td>
-  <td width=213 valign=top >
-  <p class=MsoNormal > %s</p>
-  </td>
-  <td width=170 valign=top >
-  <p class=MsoNormal ><span > A<sup>-2</sup></span></p>
-  </td>
- </tr>
-</table>
-<p class=MsoNormal><b><span > Extrapolation</span></b></p>
-<table class=MsoTableGrid border=1 cellspacing=0 cellpadding=0>
- <tr>
-  <td width=213 valign=top >
-  <p class=MsoNormal > %s</p>
-  </td>
-  <td width=213 valign=top >
-  <p class=MsoNormal > %s</p>
-  </td>
- </tr>
- <tr>
-  <td width=213 valign=top >
-  <p class=MsoNormal > npts low = %s</p>
-  </td>
-  <td width=213 valign=top > npts high = %s</p>
-  </td>
- </tr>
- <tr>
-  <td width=213 valign=top >
-  <p class=MsoNormal > %s</p>
-  </td>
-  <td width=213 valign=top >
-  <p class=MsoNormal > %s</p>
-  </td>
- </tr>
-</table>
-<p class=MsoNormal><b><span > Outputs</span></b></p>
-<table class=MsoTableGrid border=1 cellspacing=0 cellpadding=0>
- <tr>
-  <td width=110 valign=top >
-  <p class=MsoNormal s> Parameter</p>
-  </td>
-  <td width=150 valign=top >
-  <p class=MsoNormal >&nbsp;</p>
-  </td>
-  <td width=255 valign=top >
-  <p class=MsoNormal > Value</p>
-  </td>
-  <td width=65 valign=top >
-  <p class=MsoNormal > Unit</p>
-  </td>
- </tr>
- <tr>
-  <td width=110 rowspan=4 >
-  <p class=MsoNormal > invariant (Q<sup>*</sup>)</p>
-  </td>
-  <td width=150 valign=top >
-  <p class=MsoNormal > low Q extrapolation</p>
-  </td>
-  <td width=230 valign=top >
-  <p class=MsoNormal > %s</p>
-  </td>
-  <td width=65 valign=top >
-  <p class=MsoNormal > (cmA)<sup>-1</sup></p>
-  </td>
- </tr>
- <tr>
-  <td width=150 valign=top >
-  <p class=MsoNormal > data</p>
-  </td>
-  <td width=230 valign=top >
-  <p class=MsoNormal > %s</p>
-  </td>
-  <td width=65 valign=top >
-  <p class=MsoNormal > (cmA)<sup>-1</sup></p>
-  </td>
- </tr>
- <tr>
-  <td width=150 valign=top >
-  <p class=MsoNormal > high Q extrapolation</p>
-  </td>
-  <td width=230 valign=top >
-  <p class=MsoNormal > %s</p>
-  </td>
-  <td width=65 valign=top >
-  <p class=MsoNormal > (cmA)<sup>-1</sup></p>
-  </td>
- </tr>
- <tr>
-  <td width=150 valign=top >
-  <p class=MsoNormal > total</p>
-  </td>
-  <td width=230 valign=top >
-  <p class=MsoNormal > %s</p>
-  </td>
-  <td width=65 valign=top >
-  <p class=MsoNormal > (cmA)<sup>-1</sup></p>
-  </td>
- </tr>
- <tr>
-  <td width=110 valign=top >
-  <p class=MsoNormal > volume fraction</p>
-  </td>
-  <td width=150 valign=top >
-  <p class=MsoNormal >&nbsp;</p>
-  </td>
-  <td width=230 valign=top >
-  <p class=MsoNormal > %s</p>
-  </td>
-  <td width=65 valign=top >
-  <p class=MsoNormal >&nbsp;</p>
-  </td>
- </tr>
- <tr>
-  <td width=110 valign=top >
-  <p class=MsoNormal > specific surface</p>
-  </td>
-  <td width=150 valign=top >
-  <p class=MsoNormal >&nbsp;</p>
-  </td>
-  <td width=230 valign=top >
-  <p class=MsoNormal > %s</p>
-  </td>
-  <td width=65 valign=top >
-  <p class=MsoNormal >&nbsp;</p>
-  </td>
- </tr>
-</table>
-</font>
-<p class=MsoNormal>&nbsp;</p>
-<font size=4>
-<br><b><span > Plot</span></b>
-<center>
-<br>Invariant Computation
-<br>Data: "%s"
-<img src="%s" height=400 width=550>
-</center>
-</font>
-</div>
-
-</body>
-
-</html>
Index: src/sas/perspectives/invariant/media/report_template_v0.html
===================================================================
--- src/sas/perspectives/invariant/media/report_template_v0.html	(revision 36c59101b3167d138f038eddeae56d81f8d65305)
+++ src/sas/perspectives/invariant/media/report_template_v0.html	(revision 36c59101b3167d138f038eddeae56d81f8d65305)
@@ -0,0 +1,201 @@
+<html>
+<head>
+<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
+<meta name=Generator >
+</head>
+<body lang=EN-US>
+<div class=WordSection1>
+<font size='4'>
+<p class=MsoNormal><b><span >%s</span></b></p>
+<p class=MsoNormal><span >%s</span></p>
+</font>
+<font size='3'>
+<p class=MsoNormal><b><span > Input
+parameters</span></b></p>
+<table class=MsoTableGrid border=1 cellspacing=0 cellpadding=0>
+ <tr>
+  <td width=170 valign=top>
+  <p class=MsoNormal > Parameter</p>
+  </td>
+  <td width=213 valign=top >
+  <p class=MsoNormal > Value</p>
+  </td>
+  <td width=170 valign=top >
+  <p class=MsoNormal > Unit</p>
+  </td>
+ </tr>
+ <tr>
+  <td width=170 valign=top >
+  <p class=MsoNormal > scale</p>
+  </td>
+  <td width=213 valign=top >
+  <p class=MsoNormal > %s</p>
+  </td>
+  <td width=170 valign=top >&nbsp;</p>
+  </td>
+ </tr>
+ <tr>
+  <td width=170 valign=top >
+  <p class=MsoNormal > porod constant</p>
+  </td>
+  <td width=213 valign=top >
+  <p class=MsoNormal > %s</p>
+  </td>
+  <td width=170 valign=top >&nbsp;</p>
+  </td>
+ </tr>
+ <tr>
+  <td width=170 valign=top>
+  <p class=MsoNormal > background</p>
+  </td>
+  <td width=170 valign=top >
+  <p class=MsoNormal > %s</p>
+  </td>
+  <td width=170 valign=top ><span > cm<sup>-1</sup></span></p>
+  </td>
+ </tr>
+ <tr>
+  <td width=170 valign=top >
+  <p class=MsoNormal > contrast</p>
+  </td>
+  <td width=213 valign=top >
+  <p class=MsoNormal > %s</p>
+  </td>
+  <td width=170 valign=top >
+  <p class=MsoNormal ><span > A<sup>-2</sup></span></p>
+  </td>
+ </tr>
+</table>
+<p class=MsoNormal><b><span > Extrapolation</span></b></p>
+<table class=MsoTableGrid border=1 cellspacing=0 cellpadding=0>
+ <tr>
+  <td width=213 valign=top >
+  <p class=MsoNormal > %s</p>
+  </td>
+  <td width=213 valign=top >
+  <p class=MsoNormal > %s</p>
+  </td>
+ </tr>
+ <tr>
+  <td width=213 valign=top >
+  <p class=MsoNormal > npts low = %s</p>
+  </td>
+  <td width=213 valign=top > npts high = %s</p>
+  </td>
+ </tr>
+ <tr>
+  <td width=213 valign=top >
+  <p class=MsoNormal > %s</p>
+  </td>
+  <td width=213 valign=top >
+  <p class=MsoNormal > %s</p>
+  </td>
+ </tr>
+</table>
+<p class=MsoNormal><b><span > Outputs</span></b></p>
+<table class=MsoTableGrid border=1 cellspacing=0 cellpadding=0>
+ <tr>
+  <td width=110 valign=top >
+  <p class=MsoNormal s> Parameter</p>
+  </td>
+  <td width=150 valign=top >
+  <p class=MsoNormal >&nbsp;</p>
+  </td>
+  <td width=255 valign=top >
+  <p class=MsoNormal > Value</p>
+  </td>
+  <td width=65 valign=top >
+  <p class=MsoNormal > Unit</p>
+  </td>
+ </tr>
+ <tr>
+  <td width=110 rowspan=4 >
+  <p class=MsoNormal > invariant (Q<sup>*</sup>)</p>
+  </td>
+  <td width=150 valign=top >
+  <p class=MsoNormal > low Q extrapolation</p>
+  </td>
+  <td width=230 valign=top >
+  <p class=MsoNormal > %s</p>
+  </td>
+  <td width=65 valign=top >
+  <p class=MsoNormal > (cmA)<sup>-1</sup></p>
+  </td>
+ </tr>
+ <tr>
+  <td width=150 valign=top >
+  <p class=MsoNormal > data</p>
+  </td>
+  <td width=230 valign=top >
+  <p class=MsoNormal > %s</p>
+  </td>
+  <td width=65 valign=top >
+  <p class=MsoNormal > (cmA)<sup>-1</sup></p>
+  </td>
+ </tr>
+ <tr>
+  <td width=150 valign=top >
+  <p class=MsoNormal > high Q extrapolation</p>
+  </td>
+  <td width=230 valign=top >
+  <p class=MsoNormal > %s</p>
+  </td>
+  <td width=65 valign=top >
+  <p class=MsoNormal > (cmA)<sup>-1</sup></p>
+  </td>
+ </tr>
+ <tr>
+  <td width=150 valign=top >
+  <p class=MsoNormal > total</p>
+  </td>
+  <td width=230 valign=top >
+  <p class=MsoNormal > %s</p>
+  </td>
+  <td width=65 valign=top >
+  <p class=MsoNormal > (cmA)<sup>-1</sup></p>
+  </td>
+ </tr>
+ <tr>
+  <td width=110 valign=top >
+  <p class=MsoNormal > volume fraction</p>
+  </td>
+  <td width=150 valign=top >
+  <p class=MsoNormal >&nbsp;</p>
+  </td>
+  <td width=230 valign=top >
+  <p class=MsoNormal > %s</p>
+  </td>
+  <td width=65 valign=top >
+  <p class=MsoNormal >&nbsp;</p>
+  </td>
+ </tr>
+ <tr>
+  <td width=110 valign=top >
+  <p class=MsoNormal > specific surface</p>
+  </td>
+  <td width=150 valign=top >
+  <p class=MsoNormal >&nbsp;</p>
+  </td>
+  <td width=230 valign=top >
+  <p class=MsoNormal > %s</p>
+  </td>
+  <td width=65 valign=top >
+  <p class=MsoNormal >&nbsp;</p>
+  </td>
+ </tr>
+</table>
+</font>
+<p class=MsoNormal>&nbsp;</p>
+<font size=4>
+<br><b><span > Plot</span></b>
+<center>
+<br>Invariant Computation
+<br>Data: "%s"
+<img src="%s" height=400 width=550>
+</center>
+</font>
+</div>
+
+</body>
+
+</html>
