Index: src/sas/sasgui/perspectives/calculator/model_editor.py
===================================================================
--- src/sas/sasgui/perspectives/calculator/model_editor.py	(revision 2469df7fc9ffa047115c5bffe589ed307b12c363)
+++ src/sas/sasgui/perspectives/calculator/model_editor.py	(revision c6dfb9f046833f237adda045c26f0ae7a04a6284)
@@ -391,4 +391,5 @@
         self._msg_box.SetLabel(msg)
         self._msg_box.SetForegroundColour(color)
+        self._set_model_list()
         if self.parent.parent is not None:
             from sas.sasgui.guiframe.events import StatusEvent
@@ -432,4 +433,6 @@
         if len(main_list) > 1:
             main_list.sort()
+        self.model1.Clear()
+        self.model2.Clear()
         for idx in range(len(main_list)):
             self.model1.Append(str(main_list[idx]), idx)
Index: src/sas/sasgui/perspectives/fitting/fitpage.py
===================================================================
--- src/sas/sasgui/perspectives/fitting/fitpage.py	(revision bfeb823d6565a781d46f2b3a96dce997cb3fab28)
+++ src/sas/sasgui/perspectives/fitting/fitpage.py	(revision a7c6f38e460b03102c3235b21c334a55fd344082)
@@ -365,5 +365,5 @@
         # StaticText for chi2, N(for fitting), Npts + Log/linear spacing
         self.tcChi = BGTextCtrl(self, wx.ID_ANY, "-", size=(75, 20), style=0)
-        self.tcChi.SetToolTipString("Chi2/Npts(Fit)")
+        self.tcChi.SetToolTipString("Chi2/DOF (DOF=Npts-Npar fitted)")
         self.Npts_fit = BGTextCtrl(self, wx.ID_ANY, "-", size=(75, 20), style=0)
         self.Npts_fit.SetToolTipString(
@@ -391,5 +391,5 @@
         self.points_sizer.Add(self.pointsbox)
 
-        box_description_1 = wx.StaticText(self, wx.ID_ANY, '   Chi2/Npts')
+        box_description_1 = wx.StaticText(self, wx.ID_ANY, 'Reduced Chi2')
         box_description_2 = wx.StaticText(self, wx.ID_ANY, 'Npts(Fit)')
 
Index: src/sas/sasgui/perspectives/fitting/media/fitting_help.rst
===================================================================
--- src/sas/sasgui/perspectives/fitting/media/fitting_help.rst	(revision 5005ae0a7e3ed07742271fca99651ba5c55aa8b0)
+++ src/sas/sasgui/perspectives/fitting/media/fitting_help.rst	(revision 47ace500b69b84227cf32c9ef9bb1118c093b7e2)
@@ -426,26 +426,30 @@
 See :ref:`Assessing_Fit_Quality`.
 
-The objective of model-fitting is to find a *physically-plausible* model, and set
-of model parameters, that generate a theory that reproduces the experimental data
-and gives residual values as close to zero as possible.
+The objective of model-fitting is to find a *physically-plausible* model, and
+set of model parameters, that generate a theory that reproduces the experimental
+data and minimizes the values of the residuals.
 
 Change the default values of the model parameters by hand until the theory line
-starts to represent the experimental data. Then uncheck the tick boxes alongside
-all parameters *except* the 'background' and the 'scale'. Click the *Fit* button.
-SasView will optimise the values of the 'background' and 'scale' and also display
-the corresponding uncertainties on the optimised values.
-
-*NB: If no uncertainty is shown it generally means that the model is not very*
-*dependent on the corresponding parameter (or that one or more parameters are*
-*'correlated').*
-
-In the bottom left corner of the *Fit Page* is a box displaying the normalised value
-of the statistical $\chi^2$ parameter returned by the optimiser.
+starts to represent the experimental data. Then check the tick boxes alongside
+the 'background' and 'scale' parameters. Click the *Fit* button. SasView
+will optimise the values of the 'background' and 'scale' and also display the
+corresponding uncertainties on the optimised values.
+
+.. note::
+   If the uncertainty on a fitted parameter is unrealistically large, or if it
+   displays as NaN, the model is most likely a poor representation of the data,
+   the parameter in question is highly correlated with one or more of the other
+   fitted parameters, or the model is relatively insensitive to the value of
+   that particular parameter.
+
+In the bottom left corner of the *Fit Page* is a box displaying a normalised
+value of the statistical $\chi^2$ parameter (the reduced $\chi^2$,
+See :ref:`Assessing_Fit_Quality`) returned by the optimiser.
 
 Now check the box for another model parameter and click *Fit* again. Repeat this
-process until most or all parameters are checked and have been optimised. As the
-fit of the theory to the experimental data improves the value of 'chi2/Npts' will
-decrease. A good model fit should easily produce values of 'chi2/Npts' that are
-close to one, and certainly <100. See :ref:`Assessing_Fit_Quality`.
+process until all relevant parameters are checked and have been optimised. As
+the fit of the theory to the experimental data improves, the value of 'Reduced
+Chi2' will decrease. A good model fit should produce values of Reduced Chi2
+close to one, and certainly << 100. See :ref:`Assessing_Fit_Quality`.
 
 SasView has a number of different optimisers (see the section :ref:`Fitting_Options`).
@@ -462,7 +466,11 @@
 *the Data Explorer is checked (see the section* :ref:`Loading_data` *).*
 
-This mode is an extension of the :ref:`Single_Fit_Mode` that fits two or more data
-sets *to the same model* simultaneously. If necessary it is possible to constrain
-fit parameters between data sets (eg, to fix a background level, or radius, etc).
+This mode is an extension of the :ref:`Single_Fit_Mode` that allows for some
+relatively extensive constraints between fitted parameters in a single *FitPage*
+or between several *FitPage*'s (eg, to constrain all fitted parameters to be the
+same in a contrast series of *FitPages* except for the solvent sld parameter,
+constrain the length to be twice that of the radius in a single *FitPage*,
+fix the radius of the sphere in one *FitPage* to be the same as the radius of
+the cylinder in a second *FitPage*, etc).
 
 If the data to be fit are in multiple files, load each file, then select each file
@@ -501,44 +509,35 @@
 next to *Add Constraint?* in the *Fit Constraints* box.
 
+To constrain all identically named parameters to fit *simultaneously* to the
+same value across all the *Fitpages* use the *Easy Setup* drop-down buttons in
+the *Const & Simul Fit* page.
+
 *NB: You can only constrain parameters that are set to refine.*
+
+Constraints will generally be of the form
+
+  Mi Parameter1 = Mj.Parameter1
+
+however the text box after the '=' sign can be used to adjust this
+relationship; for example
+
+  Mi Parameter1 = scalar \* Mj.Parameter1
+
+A 'free-form' constraint box is also provided.
+
+Many constraints can be entered for a single fit.
 
 When ready, click the *Fit* button on the *Const & Simul Fit* page, NOT the *Fit*
 button on the individual *FitPage*'s.
 
-Simultaneous Fits without Constraints
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
 The results of the model-fitting will be returned to each of the individual
 *FitPage*'s.
 
-Note that the chi2/Npts value returned is the SUM of the chi2/Npts of each fit. To
-see the chi2/Npts value for a specific *FitPage*, click the *Compute* button at the
-bottom of that *FitPage* to recalculate. Also see :ref:`Assessing_Fit_Quality`.
-
-Simultaneous Fits with Constraints
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Use the *Easy Setup* drop-down buttons in the *Const & Simul Fit* page to set
-up constraints between *FitPage*'s.
-
-Constraints will generally be of the form
-
-  Mi Parameter1 = Mj.Parameter1
-
-however the text box after the '=' sign can be used to adjust this
-relationship; for example
-
-  Mi Parameter1 = scalar \* Mj.Parameter1
-
-A 'free-form' constraint box is also provided.
-
-Many constraints can be entered for a single fit.
-
-The results of the model-fitting will be returned to each of the individual
-*FitPage*'s.
-
-Note that the chi2/Npts value returned is the SUM of the chi2/Npts of each fit. To
-see the chi2/Npts value for a specific *FitPage*, click the *Compute* button at the
-bottom of that *FitPage* to recalculate. Also see :ref:`Assessing_Fit_Quality`.
+Note that the Reduced Chi2 value returned is the SUM of the Reduced Chi2 of
+each fit. To see the Reduced Chi2 value for a specific *FitPage*, click the 
+*Compute* button at the bottom of that *FitPage* to recalculate. Note that in
+doing so the degrees of freedom will be set to Npts.
+See :ref:`Assessing_Fit_Quality`.  Moreover in the case of constraints the
+degrees of freedom are less than one might think due to those constraints.
 
 .. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
@@ -766,4 +765,7 @@
 .. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
 
-.. note::  This help document was last changed by Paul Butler, 10 September
-   2017
+.*Document History*
+
+| 2017-09-10 Paul Butler
+| 2017-09-15 Steve King
+| 2018-03-05 Paul Butler
Index: src/sas/sasgui/perspectives/fitting/media/residuals_help.rst
===================================================================
--- src/sas/sasgui/perspectives/fitting/media/residuals_help.rst	(revision 99ded31b1523f79bd1cb6e2ce2af4d4f1200022d)
+++ src/sas/sasgui/perspectives/fitting/media/residuals_help.rst	(revision 84ac3f1346f94e3781ba42c6405173781c110161)
@@ -27,17 +27,19 @@
 
 $\chi^2$ is a statistical parameter that quantifies the differences between
-an observed data set and an expected dataset (or 'theory').
-
-When showing the a model with the data, *SasView* displays this parameter
-normalized to the number of data points, $N_\mathrm{pts}$ such that
+an observed data set and an expected dataset (or 'theory') calculated as
 
 .. math::
 
-  \chi^2_N
-  =  \sum[(Y_i - \mathrm{theory}_i)^2 / \mathrm{error}_i^2] / N_\mathrm{pts}
+  \chi^2
+  =  \sum[(Y_i - \mathrm{theory}_i)^2 / \mathrm{error}_i^2]
 
-When performing a fit, *SasView* instead displays the reduced $\chi^2_R$,
-which takes into account the number of fitting parameters $N_\mathrm{par}$
-(to calculate the number of 'degrees of freedom'). This is computed as
+Fitting typically minimizes the value of $\chi^2$.  For assessing the quality of
+the model and its "fit" however, *SasView* displays the traditional reduced
+$\chi^2_R$ which normalizes this parameter by dividing it by the number of
+degrees of freedom (or DOF). The DOF is the number of data points being
+considered, $N_\mathrm{pts}$, reduced by the number of free (i.e. fitted)
+parameters, $N_\mathrm{par}$. Note that model parameters that are kept fixed do
+*not* contribute to the DOF (they are not "free"). This reduced value is then
+given as
 
 .. math::
@@ -47,6 +49,12 @@
   / [N_\mathrm{pts} - N_\mathrm{par}]
 
-The normalized $\chi^2_N$ and the reduced $\chi^2_R$ are very close to each
-other when $N_\mathrm{pts} \gg N_\mathrm{par}$.
+Note that this means the displayed value will vary depending on the number of
+parameters used in the fit. In particular, when doing a calculation without a
+fit (e.g. manually changing a parameter) the DOF will now equal $N_\mathrm{pts}$
+and the $\chi^2_R$ will be the smallest possible for that combination of model,
+data set, and set of parameter values.
+
+When $N_\mathrm{pts} \gg N_\mathrm{par}$ as it should for proper fitting, the
+value of the reduced $\chi^2_R$ will not change very much.
 
 For a good fit, $\chi^2_R$ tends to 1.
@@ -90,2 +98,3 @@
 | 2015-06-08 Steve King
 | 2017-09-28 Paul Kienzle
+| 2018-03-04 Paul Butler
Index: src/sas/sasview/test/1d_data/10000A_sphere_dsm.xml
===================================================================
--- src/sas/sasview/test/1d_data/10000A_sphere_dsm.xml	(revision 943e17a71cbaf5aa3ecbf6cbcc4fba11e548fce3)
+++ src/sas/sasview/test/1d_data/10000A_sphere_dsm.xml	(revision 943e17a71cbaf5aa3ecbf6cbcc4fba11e548fce3)
@@ -0,0 +1,630 @@
+<?xml version="1.0"?>
+<SASroot xmlns="cansas1d/1.0" version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="cansas1d/1.0 http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xsd">
+  <SASentry>
+    <Title>1000A Sphere Desmeared Simulated USANS Data</Title>
+    <Run>Test</Run>
+    <SASdata>
+      <Idata>
+        <Q unit="1/A">3.0525e-05</Q>
+        <I unit="1/cm">1.651e+08</I>
+        <Idev unit="1/cm">1.7944e+06</Idev>
+        <Qdev unit="1/A">3.0525e-07</Qdev>
+        <Qmean unit="1/A">3.0525e-05</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">3.33e-05</Q>
+        <I unit="1/cm">1.9045e+08</I>
+        <Idev unit="1/cm">2.04e+06</Idev>
+        <Qdev unit="1/A">3.33e-07</Qdev>
+        <Qmean unit="1/A">3.33e-05</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">3.885e-05</Q>
+        <I unit="1/cm">1.7972e+08</I>
+        <Idev unit="1/cm">9.7531e+05</Idev>
+        <Qdev unit="1/A">3.885e-07</Qdev>
+        <Qmean unit="1/A">3.885e-05</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">4.44e-05</Q>
+        <I unit="1/cm">1.6498e+08</I>
+        <Idev unit="1/cm">9.0878e+05</Idev>
+        <Qdev unit="1/A">4.44e-07</Qdev>
+        <Qmean unit="1/A">4.44e-05</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">4.995e-05</Q>
+        <I unit="1/cm">1.6398e+08</I>
+        <Idev unit="1/cm">9.0732e+05</Idev>
+        <Qdev unit="1/A">4.995e-07</Qdev>
+        <Qmean unit="1/A">4.995e-05</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">5.55e-05</Q>
+        <I unit="1/cm">1.5635e+08</I>
+        <Idev unit="1/cm">8.7248e+05</Idev>
+        <Qdev unit="1/A">5.55e-07</Qdev>
+        <Qmean unit="1/A">5.55e-05</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">6.105e-05</Q>
+        <I unit="1/cm">1.7244e+08</I>
+        <Idev unit="1/cm">9.556e+06</Idev>
+        <Qdev unit="1/A">6.105e-07</Qdev>
+        <Qmean unit="1/A">6.105e-05</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">6.66e-05</Q>
+        <I unit="1/cm">1.5868e+08</I>
+        <Idev unit="1/cm">8.9419e+05</Idev>
+        <Qdev unit="1/A">6.66e-07</Qdev>
+        <Qmean unit="1/A">6.66e-05</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">7.215e-05</Q>
+        <I unit="1/cm">1.6826e+08</I>
+        <Idev unit="1/cm">9.4863e+05</Idev>
+        <Qdev unit="1/A">7.215e-07</Qdev>
+        <Qmean unit="1/A">7.215e-05</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">7.77e-05</Q>
+        <I unit="1/cm">1.4724e+08</I>
+        <Idev unit="1/cm">8.5012e+05</Idev>
+        <Qdev unit="1/A">7.77e-07</Qdev>
+        <Qmean unit="1/A">7.77e-05</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">8.325e-05</Q>
+        <I unit="1/cm">1.5471e+08</I>
+        <Idev unit="1/cm">8.9261e+05</Idev>
+        <Qdev unit="1/A">8.325e-07</Qdev>
+        <Qmean unit="1/A">8.325e-05</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">8.88e-05</Q>
+        <I unit="1/cm">1.5415e+08</I>
+        <Idev unit="1/cm">8.9753e+05</Idev>
+        <Qdev unit="1/A">8.88e-07</Qdev>
+        <Qmean unit="1/A">8.88e-05</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">9.435e-05</Q>
+        <I unit="1/cm">1.5006e+08</I>
+        <Idev unit="1/cm">8.8551e+05</Idev>
+        <Qdev unit="1/A">9.435e-07</Qdev>
+        <Qmean unit="1/A">9.435e-05</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">9.99e-05</Q>
+        <I unit="1/cm">1.417e+08</I>
+        <Idev unit="1/cm">8.4989e+06</Idev>
+        <Qdev unit="1/A">9.99e-07</Qdev>
+        <Qmean unit="1/A">9.99e-05</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.00010545</Q>
+        <I unit="1/cm">1.4584e+08</I>
+        <Idev unit="1/cm">8.8032e+05</Idev>
+        <Qdev unit="1/A">1.0545e-06</Qdev>
+        <Qmean unit="1/A">0.00010545</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.000111</Q>
+        <I unit="1/cm">1.3726e+08</I>
+        <Idev unit="1/cm">4.8794e+05</Idev>
+        <Qdev unit="1/A">1.11e-06</Qdev>
+        <Qmean unit="1/A">0.000111</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.0001221</Q>
+        <I unit="1/cm">1.269e+08</I>
+        <Idev unit="1/cm">4.6536e+05</Idev>
+        <Qdev unit="1/A">1.221e-06</Qdev>
+        <Qmean unit="1/A">0.0001221</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.0001332</Q>
+        <I unit="1/cm">1.2545e+08</I>
+        <Idev unit="1/cm">4.7162e+05</Idev>
+        <Qdev unit="1/A">1.332e-06</Qdev>
+        <Qmean unit="1/A">0.0001332</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.0001443</Q>
+        <I unit="1/cm">1.1211e+08</I>
+        <Idev unit="1/cm">4.398e+05</Idev>
+        <Qdev unit="1/A">1.443e-06</Qdev>
+        <Qmean unit="1/A">0.0001443</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.0001554</Q>
+        <I unit="1/cm">1.0974e+08</I>
+        <Idev unit="1/cm">4.4406e+05</Idev>
+        <Qdev unit="1/A">1.554e-06</Qdev>
+        <Qmean unit="1/A">0.0001554</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.0001665</Q>
+        <I unit="1/cm">9.7546e+07</I>
+        <Idev unit="1/cm">4.1507e+06</Idev>
+        <Qdev unit="1/A">1.665e-06</Qdev>
+        <Qmean unit="1/A">0.0001665</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.0001776</Q>
+        <I unit="1/cm">8.8127e+07</I>
+        <Idev unit="1/cm">3.9207e+05</Idev>
+        <Qdev unit="1/A">1.776e-06</Qdev>
+        <Qmean unit="1/A">0.0001776</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.0001887</Q>
+        <I unit="1/cm">8.2576e+07</I>
+        <Idev unit="1/cm">3.8247e+05</Idev>
+        <Qdev unit="1/A">1.887e-06</Qdev>
+        <Qmean unit="1/A">0.0001887</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.0001998</Q>
+        <I unit="1/cm">7.7312e+07</I>
+        <Idev unit="1/cm">3.7578e+05</Idev>
+        <Qdev unit="1/A">1.998e-06</Qdev>
+        <Qmean unit="1/A">0.0001998</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.0002109</Q>
+        <I unit="1/cm">6.6194e+07</I>
+        <Idev unit="1/cm">3.4309e+05</Idev>
+        <Qdev unit="1/A">2.109e-06</Qdev>
+        <Qmean unit="1/A">0.0002109</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.000222</Q>
+        <I unit="1/cm">6.187e+07</I>
+        <Idev unit="1/cm">3.3729e+05</Idev>
+        <Qdev unit="1/A">2.22e-06</Qdev>
+        <Qmean unit="1/A">0.000222</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.0002331</Q>
+        <I unit="1/cm">5.4257e+07</I>
+        <Idev unit="1/cm">3.1683e+05</Idev>
+        <Qdev unit="1/A">2.331e-06</Qdev>
+        <Qmean unit="1/A">0.0002331</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.0002442</Q>
+        <I unit="1/cm">4.7924e+07</I>
+        <Idev unit="1/cm">3.004e+06</Idev>
+        <Qdev unit="1/A">2.442e-06</Qdev>
+        <Qmean unit="1/A">0.0002442</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.0002553</Q>
+        <I unit="1/cm">4.0953e+07</I>
+        <Idev unit="1/cm">2.7801e+05</Idev>
+        <Qdev unit="1/A">2.553e-06</Qdev>
+        <Qmean unit="1/A">0.0002553</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.0002664</Q>
+        <I unit="1/cm">3.4975e+07</I>
+        <Idev unit="1/cm">2.5723e+05</Idev>
+        <Qdev unit="1/A">2.664e-06</Qdev>
+        <Qmean unit="1/A">0.0002664</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.0002775</Q>
+        <I unit="1/cm">2.9218e+07</I>
+        <Idev unit="1/cm">1.6502e+05</Idev>
+        <Qdev unit="1/A">2.775e-06</Qdev>
+        <Qmean unit="1/A">0.0002775</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.00030525</Q>
+        <I unit="1/cm">1.9276e+07</I>
+        <Idev unit="1/cm">1.3521e+05</Idev>
+        <Qdev unit="1/A">3.0525e-06</Qdev>
+        <Qmean unit="1/A">0.00030525</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.000333</Q>
+        <I unit="1/cm">1.0557e+07</I>
+        <Idev unit="1/cm">98308</Idev>
+        <Qdev unit="1/A">3.33e-06</Qdev>
+        <Qmean unit="1/A">0.000333</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.00036075</Q>
+        <I unit="1/cm">5.6647e+06</I>
+        <Idev unit="1/cm">69421</Idev>
+        <Qdev unit="1/A">3.6075e-06</Qdev>
+        <Qmean unit="1/A">0.00036075</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.0003885</Q>
+        <I unit="1/cm">1.9475e+06</I>
+        <Idev unit="1/cm">3.1373e+05</Idev>
+        <Qdev unit="1/A">3.885e-06</Qdev>
+        <Qmean unit="1/A">0.0003885</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.00041625</Q>
+        <I unit="1/cm">2.4177e+05</I>
+        <Idev unit="1/cm">4755.1</Idev>
+        <Qdev unit="1/A">4.1625e-06</Qdev>
+        <Qmean unit="1/A">0.00041625</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.000444</Q>
+        <I unit="1/cm">1.1454e+05</I>
+        <Idev unit="1/cm">2326.3</Idev>
+        <Qdev unit="1/A">4.44e-06</Qdev>
+        <Qmean unit="1/A">0.000444</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.00047175</Q>
+        <I unit="1/cm">2.088e+05</I>
+        <Idev unit="1/cm">4001.1</Idev>
+        <Qdev unit="1/A">4.7175e-06</Qdev>
+        <Qmean unit="1/A">0.00047175</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.0004995</Q>
+        <I unit="1/cm">6.7029e+05</I>
+        <Idev unit="1/cm">11420</Idev>
+        <Qdev unit="1/A">4.995e-06</Qdev>
+        <Qmean unit="1/A">0.0004995</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.00052725</Q>
+        <I unit="1/cm">1.1374e+06</I>
+        <Idev unit="1/cm">18885</Idev>
+        <Qdev unit="1/A">5.2725e-06</Qdev>
+        <Qmean unit="1/A">0.00052725</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.000555</Q>
+        <I unit="1/cm">1.2781e+06</I>
+        <Idev unit="1/cm">15763</Idev>
+        <Qdev unit="1/A">5.55e-06</Qdev>
+        <Qmean unit="1/A">0.000555</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.0006105</Q>
+        <I unit="1/cm">1.2256e+06</I>
+        <Idev unit="1/cm">1.7681e+05</Idev>
+        <Qdev unit="1/A">6.105e-06</Qdev>
+        <Qmean unit="1/A">0.0006105</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.000666</Q>
+        <I unit="1/cm">5.8331e+05</I>
+        <Idev unit="1/cm">11772</Idev>
+        <Qdev unit="1/A">6.66e-06</Qdev>
+        <Qmean unit="1/A">0.000666</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.0007215</Q>
+        <I unit="1/cm">69003</I>
+        <Idev unit="1/cm">1907.7</Idev>
+        <Qdev unit="1/A">7.215e-06</Qdev>
+        <Qmean unit="1/A">0.0007215</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.000777</Q>
+        <I unit="1/cm">23263</I>
+        <Idev unit="1/cm">683.84</Idev>
+        <Qdev unit="1/A">7.77e-06</Qdev>
+        <Qmean unit="1/A">0.000777</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.0008325</Q>
+        <I unit="1/cm">97644</I>
+        <Idev unit="1/cm">2565.3</Idev>
+        <Qdev unit="1/A">8.325e-06</Qdev>
+        <Qmean unit="1/A">0.0008325</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.000888</Q>
+        <I unit="1/cm">2.3312e+05</I>
+        <Idev unit="1/cm">5864.3</Idev>
+        <Qdev unit="1/A">8.88e-06</Qdev>
+        <Qmean unit="1/A">0.000888</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.0009435</Q>
+        <I unit="1/cm">2.0208e+05</I>
+        <Idev unit="1/cm">6035.5</Idev>
+        <Qdev unit="1/A">9.435e-06</Qdev>
+        <Qmean unit="1/A">0.0009435</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.000999</Q>
+        <I unit="1/cm">80861</I>
+        <Idev unit="1/cm">30528</Idev>
+        <Qdev unit="1/A">9.99e-06</Qdev>
+        <Qmean unit="1/A">0.000999</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.0010545</Q>
+        <I unit="1/cm">7683.4</I>
+        <Idev unit="1/cm">354.56</Idev>
+        <Qdev unit="1/A">1.0545e-05</Qdev>
+        <Qmean unit="1/A">0.0010545</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.00111</Q>
+        <I unit="1/cm">11329</I>
+        <Idev unit="1/cm">382.48</Idev>
+        <Qdev unit="1/A">1.11e-05</Qdev>
+        <Qmean unit="1/A">0.00111</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.001221</Q>
+        <I unit="1/cm">87375</I>
+        <Idev unit="1/cm">2658</Idev>
+        <Qdev unit="1/A">1.221e-05</Qdev>
+        <Qmean unit="1/A">0.001221</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.001332</Q>
+        <I unit="1/cm">10915</I>
+        <Idev unit="1/cm">517.94</Idev>
+        <Qdev unit="1/A">1.332e-05</Qdev>
+        <Qmean unit="1/A">0.001332</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.001443</Q>
+        <I unit="1/cm">7683.6</I>
+        <Idev unit="1/cm">376.72</Idev>
+        <Qdev unit="1/A">1.443e-05</Qdev>
+        <Qmean unit="1/A">0.001443</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.001554</Q>
+        <I unit="1/cm">31538</I>
+        <Idev unit="1/cm">1461.6</Idev>
+        <Qdev unit="1/A">1.554e-05</Qdev>
+        <Qmean unit="1/A">0.001554</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.001665</Q>
+        <I unit="1/cm">2991</I>
+        <Idev unit="1/cm">2025.4</Idev>
+        <Qdev unit="1/A">1.665e-05</Qdev>
+        <Qmean unit="1/A">0.001665</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.001776</Q>
+        <I unit="1/cm">6126.4</I>
+        <Idev unit="1/cm">413.24</Idev>
+        <Qdev unit="1/A">1.776e-05</Qdev>
+        <Qmean unit="1/A">0.001776</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.001887</Q>
+        <I unit="1/cm">9246.2</I>
+        <Idev unit="1/cm">642.09</Idev>
+        <Qdev unit="1/A">1.887e-05</Qdev>
+        <Qmean unit="1/A">0.001887</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.001998</Q>
+        <I unit="1/cm">861.73</I>
+        <Idev unit="1/cm">67.504</Idev>
+        <Qdev unit="1/A">1.998e-05</Qdev>
+        <Qmean unit="1/A">0.001998</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.002109</Q>
+        <I unit="1/cm">8017.5</I>
+        <Idev unit="1/cm">550.7</Idev>
+        <Qdev unit="1/A">2.109e-05</Qdev>
+        <Qmean unit="1/A">0.002109</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.00222</Q>
+        <I unit="1/cm">5502.9</I>
+        <Idev unit="1/cm">494.11</Idev>
+        <Qdev unit="1/A">2.22e-05</Qdev>
+        <Qmean unit="1/A">0.00222</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.002331</Q>
+        <I unit="1/cm">741.32</I>
+        <Idev unit="1/cm">83.931</Idev>
+        <Qdev unit="1/A">2.331e-05</Qdev>
+        <Qmean unit="1/A">0.002331</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.002442</Q>
+        <I unit="1/cm">2919.8</I>
+        <Idev unit="1/cm">3303.4</Idev>
+        <Qdev unit="1/A">2.442e-05</Qdev>
+        <Qmean unit="1/A">0.002442</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.002553</Q>
+        <I unit="1/cm">1667.6</I>
+        <Idev unit="1/cm">206.1</Idev>
+        <Qdev unit="1/A">2.553e-05</Qdev>
+        <Qmean unit="1/A">0.002553</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.002664</Q>
+        <I unit="1/cm">584.11</I>
+        <Idev unit="1/cm">74.745</Idev>
+        <Qdev unit="1/A">2.664e-05</Qdev>
+        <Qmean unit="1/A">0.002664</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.002775</Q>
+        <I unit="1/cm">1585.4</I>
+        <Idev unit="1/cm">167.96</Idev>
+        <Qdev unit="1/A">2.775e-05</Qdev>
+        <Qmean unit="1/A">0.002775</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.0030525</Q>
+        <I unit="1/cm">1422.7</I>
+        <Idev unit="1/cm">183.59</Idev>
+        <Qdev unit="1/A">3.0525e-05</Qdev>
+        <Qmean unit="1/A">0.0030525</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.00333</Q>
+        <I unit="1/cm">70.932</I>
+        <Idev unit="1/cm">16.5</Idev>
+        <Qdev unit="1/A">3.33e-05</Qdev>
+        <Qmean unit="1/A">0.00333</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.0036075</Q>
+        <I unit="1/cm">400.33</I>
+        <Idev unit="1/cm">63.21</Idev>
+        <Qdev unit="1/A">3.6075e-05</Qdev>
+        <Qmean unit="1/A">0.0036075</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.003885</Q>
+        <I unit="1/cm">393.52</I>
+        <Idev unit="1/cm">659.6</Idev>
+        <Qdev unit="1/A">3.885e-05</Qdev>
+        <Qmean unit="1/A">0.003885</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.0041625</Q>
+        <I unit="1/cm">212.31</I>
+        <Idev unit="1/cm">47.277</Idev>
+        <Qdev unit="1/A">4.1625e-05</Qdev>
+        <Qmean unit="1/A">0.0041625</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.00444</Q>
+        <I unit="1/cm">39.89</I>
+        <Idev unit="1/cm">11.694</Idev>
+        <Qdev unit="1/A">4.44e-05</Qdev>
+        <Qmean unit="1/A">0.00444</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.0047175</Q>
+        <I unit="1/cm">71.693</I>
+        <Idev unit="1/cm">18.86</Idev>
+        <Qdev unit="1/A">4.7175e-05</Qdev>
+        <Qmean unit="1/A">0.0047175</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.004995</Q>
+        <I unit="1/cm">2.5476</I>
+        <Idev unit="1/cm">0.77203</Idev>
+        <Qdev unit="1/A">4.995e-05</Qdev>
+        <Qmean unit="1/A">0.004995</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+      <Idata>
+        <Q unit="1/A">0.0052725</Q>
+        <I unit="1/cm">157.13</I>
+        <Idev unit="1/cm">30.429</Idev>
+        <Qdev unit="1/A">5.2725e-05</Qdev>
+        <Qmean unit="1/A">0.0052725</Qmean>
+        <Shadowfactor>1</Shadowfactor>
+      </Idata>
+    </SASdata>
+    <SASsample>
+      <ID/>
+    </SASsample>
+    <SASinstrument>
+      <name>BT5 USANS</name>
+      <SASsource>
+        <radiation>neutron</radiation>
+      </SASsource>
+      <SAScollimation/>
+      <SASdetector>
+        <name>BT5 DETECTOR ARRAY</name>
+      </SASdetector>
+    </SASinstrument>
+    <SASprocess name="NIST IGOR">
+      <SASprocessnote>Macintosh HD:Users:ajj:Documents:Work:Devel:DANSE:test data:simulated:SIMUL_1000A_sphere_dsm.txt
+Chi^2 = 0.998099   PowerLaw m = -4.09   Iterations = 17
+0 box smooth passes and 0 smoothing spline passes
+CREATED: Wed, May 26, 2010 at  2:43:15 PM
+</SASprocessnote>
+    </SASprocess>
+    <SASnote/>
+  </SASentry>
+</SASroot>
Index: src/sas/sasview/test/1d_data/1000A_sphere_dsm.xml
===================================================================
--- src/sas/sasview/test/1d_data/1000A_sphere_dsm.xml	(revision efe730d4bba7a05c203957e4495eece8359fcd77)
+++ 	(revision )
@@ -1,630 +1,0 @@
-<?xml version="1.0"?>
-<SASroot xmlns="cansas1d/1.0" version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="cansas1d/1.0 http://svn.smallangles.net/svn/canSAS/1dwg/trunk/cansas1d.xsd">
-  <SASentry>
-    <Title>1000A Sphere Desmeared Simulated USANS Data</Title>
-    <Run>Test</Run>
-    <SASdata>
-      <Idata>
-        <Q unit="1/A">3.0525e-05</Q>
-        <I unit="1/cm">1.651e+08</I>
-        <Idev unit="1/cm">1.7944e+06</Idev>
-        <Qdev unit="1/A">3.0525e-07</Qdev>
-        <Qmean unit="1/A">3.0525e-05</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">3.33e-05</Q>
-        <I unit="1/cm">1.9045e+08</I>
-        <Idev unit="1/cm">2.04e+06</Idev>
-        <Qdev unit="1/A">3.33e-07</Qdev>
-        <Qmean unit="1/A">3.33e-05</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">3.885e-05</Q>
-        <I unit="1/cm">1.7972e+08</I>
-        <Idev unit="1/cm">9.7531e+05</Idev>
-        <Qdev unit="1/A">3.885e-07</Qdev>
-        <Qmean unit="1/A">3.885e-05</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">4.44e-05</Q>
-        <I unit="1/cm">1.6498e+08</I>
-        <Idev unit="1/cm">9.0878e+05</Idev>
-        <Qdev unit="1/A">4.44e-07</Qdev>
-        <Qmean unit="1/A">4.44e-05</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">4.995e-05</Q>
-        <I unit="1/cm">1.6398e+08</I>
-        <Idev unit="1/cm">9.0732e+05</Idev>
-        <Qdev unit="1/A">4.995e-07</Qdev>
-        <Qmean unit="1/A">4.995e-05</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">5.55e-05</Q>
-        <I unit="1/cm">1.5635e+08</I>
-        <Idev unit="1/cm">8.7248e+05</Idev>
-        <Qdev unit="1/A">5.55e-07</Qdev>
-        <Qmean unit="1/A">5.55e-05</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">6.105e-05</Q>
-        <I unit="1/cm">1.7244e+08</I>
-        <Idev unit="1/cm">9.556e+06</Idev>
-        <Qdev unit="1/A">6.105e-07</Qdev>
-        <Qmean unit="1/A">6.105e-05</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">6.66e-05</Q>
-        <I unit="1/cm">1.5868e+08</I>
-        <Idev unit="1/cm">8.9419e+05</Idev>
-        <Qdev unit="1/A">6.66e-07</Qdev>
-        <Qmean unit="1/A">6.66e-05</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">7.215e-05</Q>
-        <I unit="1/cm">1.6826e+08</I>
-        <Idev unit="1/cm">9.4863e+05</Idev>
-        <Qdev unit="1/A">7.215e-07</Qdev>
-        <Qmean unit="1/A">7.215e-05</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">7.77e-05</Q>
-        <I unit="1/cm">1.4724e+08</I>
-        <Idev unit="1/cm">8.5012e+05</Idev>
-        <Qdev unit="1/A">7.77e-07</Qdev>
-        <Qmean unit="1/A">7.77e-05</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">8.325e-05</Q>
-        <I unit="1/cm">1.5471e+08</I>
-        <Idev unit="1/cm">8.9261e+05</Idev>
-        <Qdev unit="1/A">8.325e-07</Qdev>
-        <Qmean unit="1/A">8.325e-05</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">8.88e-05</Q>
-        <I unit="1/cm">1.5415e+08</I>
-        <Idev unit="1/cm">8.9753e+05</Idev>
-        <Qdev unit="1/A">8.88e-07</Qdev>
-        <Qmean unit="1/A">8.88e-05</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">9.435e-05</Q>
-        <I unit="1/cm">1.5006e+08</I>
-        <Idev unit="1/cm">8.8551e+05</Idev>
-        <Qdev unit="1/A">9.435e-07</Qdev>
-        <Qmean unit="1/A">9.435e-05</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">9.99e-05</Q>
-        <I unit="1/cm">1.417e+08</I>
-        <Idev unit="1/cm">8.4989e+06</Idev>
-        <Qdev unit="1/A">9.99e-07</Qdev>
-        <Qmean unit="1/A">9.99e-05</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.00010545</Q>
-        <I unit="1/cm">1.4584e+08</I>
-        <Idev unit="1/cm">8.8032e+05</Idev>
-        <Qdev unit="1/A">1.0545e-06</Qdev>
-        <Qmean unit="1/A">0.00010545</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.000111</Q>
-        <I unit="1/cm">1.3726e+08</I>
-        <Idev unit="1/cm">4.8794e+05</Idev>
-        <Qdev unit="1/A">1.11e-06</Qdev>
-        <Qmean unit="1/A">0.000111</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.0001221</Q>
-        <I unit="1/cm">1.269e+08</I>
-        <Idev unit="1/cm">4.6536e+05</Idev>
-        <Qdev unit="1/A">1.221e-06</Qdev>
-        <Qmean unit="1/A">0.0001221</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.0001332</Q>
-        <I unit="1/cm">1.2545e+08</I>
-        <Idev unit="1/cm">4.7162e+05</Idev>
-        <Qdev unit="1/A">1.332e-06</Qdev>
-        <Qmean unit="1/A">0.0001332</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.0001443</Q>
-        <I unit="1/cm">1.1211e+08</I>
-        <Idev unit="1/cm">4.398e+05</Idev>
-        <Qdev unit="1/A">1.443e-06</Qdev>
-        <Qmean unit="1/A">0.0001443</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.0001554</Q>
-        <I unit="1/cm">1.0974e+08</I>
-        <Idev unit="1/cm">4.4406e+05</Idev>
-        <Qdev unit="1/A">1.554e-06</Qdev>
-        <Qmean unit="1/A">0.0001554</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.0001665</Q>
-        <I unit="1/cm">9.7546e+07</I>
-        <Idev unit="1/cm">4.1507e+06</Idev>
-        <Qdev unit="1/A">1.665e-06</Qdev>
-        <Qmean unit="1/A">0.0001665</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.0001776</Q>
-        <I unit="1/cm">8.8127e+07</I>
-        <Idev unit="1/cm">3.9207e+05</Idev>
-        <Qdev unit="1/A">1.776e-06</Qdev>
-        <Qmean unit="1/A">0.0001776</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.0001887</Q>
-        <I unit="1/cm">8.2576e+07</I>
-        <Idev unit="1/cm">3.8247e+05</Idev>
-        <Qdev unit="1/A">1.887e-06</Qdev>
-        <Qmean unit="1/A">0.0001887</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.0001998</Q>
-        <I unit="1/cm">7.7312e+07</I>
-        <Idev unit="1/cm">3.7578e+05</Idev>
-        <Qdev unit="1/A">1.998e-06</Qdev>
-        <Qmean unit="1/A">0.0001998</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.0002109</Q>
-        <I unit="1/cm">6.6194e+07</I>
-        <Idev unit="1/cm">3.4309e+05</Idev>
-        <Qdev unit="1/A">2.109e-06</Qdev>
-        <Qmean unit="1/A">0.0002109</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.000222</Q>
-        <I unit="1/cm">6.187e+07</I>
-        <Idev unit="1/cm">3.3729e+05</Idev>
-        <Qdev unit="1/A">2.22e-06</Qdev>
-        <Qmean unit="1/A">0.000222</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.0002331</Q>
-        <I unit="1/cm">5.4257e+07</I>
-        <Idev unit="1/cm">3.1683e+05</Idev>
-        <Qdev unit="1/A">2.331e-06</Qdev>
-        <Qmean unit="1/A">0.0002331</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.0002442</Q>
-        <I unit="1/cm">4.7924e+07</I>
-        <Idev unit="1/cm">3.004e+06</Idev>
-        <Qdev unit="1/A">2.442e-06</Qdev>
-        <Qmean unit="1/A">0.0002442</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.0002553</Q>
-        <I unit="1/cm">4.0953e+07</I>
-        <Idev unit="1/cm">2.7801e+05</Idev>
-        <Qdev unit="1/A">2.553e-06</Qdev>
-        <Qmean unit="1/A">0.0002553</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.0002664</Q>
-        <I unit="1/cm">3.4975e+07</I>
-        <Idev unit="1/cm">2.5723e+05</Idev>
-        <Qdev unit="1/A">2.664e-06</Qdev>
-        <Qmean unit="1/A">0.0002664</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.0002775</Q>
-        <I unit="1/cm">2.9218e+07</I>
-        <Idev unit="1/cm">1.6502e+05</Idev>
-        <Qdev unit="1/A">2.775e-06</Qdev>
-        <Qmean unit="1/A">0.0002775</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.00030525</Q>
-        <I unit="1/cm">1.9276e+07</I>
-        <Idev unit="1/cm">1.3521e+05</Idev>
-        <Qdev unit="1/A">3.0525e-06</Qdev>
-        <Qmean unit="1/A">0.00030525</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.000333</Q>
-        <I unit="1/cm">1.0557e+07</I>
-        <Idev unit="1/cm">98308</Idev>
-        <Qdev unit="1/A">3.33e-06</Qdev>
-        <Qmean unit="1/A">0.000333</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.00036075</Q>
-        <I unit="1/cm">5.6647e+06</I>
-        <Idev unit="1/cm">69421</Idev>
-        <Qdev unit="1/A">3.6075e-06</Qdev>
-        <Qmean unit="1/A">0.00036075</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.0003885</Q>
-        <I unit="1/cm">1.9475e+06</I>
-        <Idev unit="1/cm">3.1373e+05</Idev>
-        <Qdev unit="1/A">3.885e-06</Qdev>
-        <Qmean unit="1/A">0.0003885</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.00041625</Q>
-        <I unit="1/cm">2.4177e+05</I>
-        <Idev unit="1/cm">4755.1</Idev>
-        <Qdev unit="1/A">4.1625e-06</Qdev>
-        <Qmean unit="1/A">0.00041625</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.000444</Q>
-        <I unit="1/cm">1.1454e+05</I>
-        <Idev unit="1/cm">2326.3</Idev>
-        <Qdev unit="1/A">4.44e-06</Qdev>
-        <Qmean unit="1/A">0.000444</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.00047175</Q>
-        <I unit="1/cm">2.088e+05</I>
-        <Idev unit="1/cm">4001.1</Idev>
-        <Qdev unit="1/A">4.7175e-06</Qdev>
-        <Qmean unit="1/A">0.00047175</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.0004995</Q>
-        <I unit="1/cm">6.7029e+05</I>
-        <Idev unit="1/cm">11420</Idev>
-        <Qdev unit="1/A">4.995e-06</Qdev>
-        <Qmean unit="1/A">0.0004995</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.00052725</Q>
-        <I unit="1/cm">1.1374e+06</I>
-        <Idev unit="1/cm">18885</Idev>
-        <Qdev unit="1/A">5.2725e-06</Qdev>
-        <Qmean unit="1/A">0.00052725</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.000555</Q>
-        <I unit="1/cm">1.2781e+06</I>
-        <Idev unit="1/cm">15763</Idev>
-        <Qdev unit="1/A">5.55e-06</Qdev>
-        <Qmean unit="1/A">0.000555</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.0006105</Q>
-        <I unit="1/cm">1.2256e+06</I>
-        <Idev unit="1/cm">1.7681e+05</Idev>
-        <Qdev unit="1/A">6.105e-06</Qdev>
-        <Qmean unit="1/A">0.0006105</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.000666</Q>
-        <I unit="1/cm">5.8331e+05</I>
-        <Idev unit="1/cm">11772</Idev>
-        <Qdev unit="1/A">6.66e-06</Qdev>
-        <Qmean unit="1/A">0.000666</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.0007215</Q>
-        <I unit="1/cm">69003</I>
-        <Idev unit="1/cm">1907.7</Idev>
-        <Qdev unit="1/A">7.215e-06</Qdev>
-        <Qmean unit="1/A">0.0007215</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.000777</Q>
-        <I unit="1/cm">23263</I>
-        <Idev unit="1/cm">683.84</Idev>
-        <Qdev unit="1/A">7.77e-06</Qdev>
-        <Qmean unit="1/A">0.000777</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.0008325</Q>
-        <I unit="1/cm">97644</I>
-        <Idev unit="1/cm">2565.3</Idev>
-        <Qdev unit="1/A">8.325e-06</Qdev>
-        <Qmean unit="1/A">0.0008325</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.000888</Q>
-        <I unit="1/cm">2.3312e+05</I>
-        <Idev unit="1/cm">5864.3</Idev>
-        <Qdev unit="1/A">8.88e-06</Qdev>
-        <Qmean unit="1/A">0.000888</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.0009435</Q>
-        <I unit="1/cm">2.0208e+05</I>
-        <Idev unit="1/cm">6035.5</Idev>
-        <Qdev unit="1/A">9.435e-06</Qdev>
-        <Qmean unit="1/A">0.0009435</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.000999</Q>
-        <I unit="1/cm">80861</I>
-        <Idev unit="1/cm">30528</Idev>
-        <Qdev unit="1/A">9.99e-06</Qdev>
-        <Qmean unit="1/A">0.000999</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.0010545</Q>
-        <I unit="1/cm">7683.4</I>
-        <Idev unit="1/cm">354.56</Idev>
-        <Qdev unit="1/A">1.0545e-05</Qdev>
-        <Qmean unit="1/A">0.0010545</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.00111</Q>
-        <I unit="1/cm">11329</I>
-        <Idev unit="1/cm">382.48</Idev>
-        <Qdev unit="1/A">1.11e-05</Qdev>
-        <Qmean unit="1/A">0.00111</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.001221</Q>
-        <I unit="1/cm">87375</I>
-        <Idev unit="1/cm">2658</Idev>
-        <Qdev unit="1/A">1.221e-05</Qdev>
-        <Qmean unit="1/A">0.001221</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.001332</Q>
-        <I unit="1/cm">10915</I>
-        <Idev unit="1/cm">517.94</Idev>
-        <Qdev unit="1/A">1.332e-05</Qdev>
-        <Qmean unit="1/A">0.001332</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.001443</Q>
-        <I unit="1/cm">7683.6</I>
-        <Idev unit="1/cm">376.72</Idev>
-        <Qdev unit="1/A">1.443e-05</Qdev>
-        <Qmean unit="1/A">0.001443</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.001554</Q>
-        <I unit="1/cm">31538</I>
-        <Idev unit="1/cm">1461.6</Idev>
-        <Qdev unit="1/A">1.554e-05</Qdev>
-        <Qmean unit="1/A">0.001554</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.001665</Q>
-        <I unit="1/cm">2991</I>
-        <Idev unit="1/cm">2025.4</Idev>
-        <Qdev unit="1/A">1.665e-05</Qdev>
-        <Qmean unit="1/A">0.001665</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.001776</Q>
-        <I unit="1/cm">6126.4</I>
-        <Idev unit="1/cm">413.24</Idev>
-        <Qdev unit="1/A">1.776e-05</Qdev>
-        <Qmean unit="1/A">0.001776</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.001887</Q>
-        <I unit="1/cm">9246.2</I>
-        <Idev unit="1/cm">642.09</Idev>
-        <Qdev unit="1/A">1.887e-05</Qdev>
-        <Qmean unit="1/A">0.001887</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.001998</Q>
-        <I unit="1/cm">861.73</I>
-        <Idev unit="1/cm">67.504</Idev>
-        <Qdev unit="1/A">1.998e-05</Qdev>
-        <Qmean unit="1/A">0.001998</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.002109</Q>
-        <I unit="1/cm">8017.5</I>
-        <Idev unit="1/cm">550.7</Idev>
-        <Qdev unit="1/A">2.109e-05</Qdev>
-        <Qmean unit="1/A">0.002109</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.00222</Q>
-        <I unit="1/cm">5502.9</I>
-        <Idev unit="1/cm">494.11</Idev>
-        <Qdev unit="1/A">2.22e-05</Qdev>
-        <Qmean unit="1/A">0.00222</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.002331</Q>
-        <I unit="1/cm">741.32</I>
-        <Idev unit="1/cm">83.931</Idev>
-        <Qdev unit="1/A">2.331e-05</Qdev>
-        <Qmean unit="1/A">0.002331</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.002442</Q>
-        <I unit="1/cm">2919.8</I>
-        <Idev unit="1/cm">3303.4</Idev>
-        <Qdev unit="1/A">2.442e-05</Qdev>
-        <Qmean unit="1/A">0.002442</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.002553</Q>
-        <I unit="1/cm">1667.6</I>
-        <Idev unit="1/cm">206.1</Idev>
-        <Qdev unit="1/A">2.553e-05</Qdev>
-        <Qmean unit="1/A">0.002553</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.002664</Q>
-        <I unit="1/cm">584.11</I>
-        <Idev unit="1/cm">74.745</Idev>
-        <Qdev unit="1/A">2.664e-05</Qdev>
-        <Qmean unit="1/A">0.002664</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.002775</Q>
-        <I unit="1/cm">1585.4</I>
-        <Idev unit="1/cm">167.96</Idev>
-        <Qdev unit="1/A">2.775e-05</Qdev>
-        <Qmean unit="1/A">0.002775</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.0030525</Q>
-        <I unit="1/cm">1422.7</I>
-        <Idev unit="1/cm">183.59</Idev>
-        <Qdev unit="1/A">3.0525e-05</Qdev>
-        <Qmean unit="1/A">0.0030525</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.00333</Q>
-        <I unit="1/cm">70.932</I>
-        <Idev unit="1/cm">16.5</Idev>
-        <Qdev unit="1/A">3.33e-05</Qdev>
-        <Qmean unit="1/A">0.00333</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.0036075</Q>
-        <I unit="1/cm">400.33</I>
-        <Idev unit="1/cm">63.21</Idev>
-        <Qdev unit="1/A">3.6075e-05</Qdev>
-        <Qmean unit="1/A">0.0036075</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.003885</Q>
-        <I unit="1/cm">393.52</I>
-        <Idev unit="1/cm">659.6</Idev>
-        <Qdev unit="1/A">3.885e-05</Qdev>
-        <Qmean unit="1/A">0.003885</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.0041625</Q>
-        <I unit="1/cm">212.31</I>
-        <Idev unit="1/cm">47.277</Idev>
-        <Qdev unit="1/A">4.1625e-05</Qdev>
-        <Qmean unit="1/A">0.0041625</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.00444</Q>
-        <I unit="1/cm">39.89</I>
-        <Idev unit="1/cm">11.694</Idev>
-        <Qdev unit="1/A">4.44e-05</Qdev>
-        <Qmean unit="1/A">0.00444</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.0047175</Q>
-        <I unit="1/cm">71.693</I>
-        <Idev unit="1/cm">18.86</Idev>
-        <Qdev unit="1/A">4.7175e-05</Qdev>
-        <Qmean unit="1/A">0.0047175</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.004995</Q>
-        <I unit="1/cm">2.5476</I>
-        <Idev unit="1/cm">0.77203</Idev>
-        <Qdev unit="1/A">4.995e-05</Qdev>
-        <Qmean unit="1/A">0.004995</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-      <Idata>
-        <Q unit="1/A">0.0052725</Q>
-        <I unit="1/cm">157.13</I>
-        <Idev unit="1/cm">30.429</Idev>
-        <Qdev unit="1/A">5.2725e-05</Qdev>
-        <Qmean unit="1/A">0.0052725</Qmean>
-        <Shadowfactor>1</Shadowfactor>
-      </Idata>
-    </SASdata>
-    <SASsample>
-      <ID/>
-    </SASsample>
-    <SASinstrument>
-      <name>BT5 USANS</name>
-      <SASsource>
-        <radiation>neutron</radiation>
-      </SASsource>
-      <SAScollimation/>
-      <SASdetector>
-        <name>BT5 DETECTOR ARRAY</name>
-      </SASdetector>
-    </SASinstrument>
-    <SASprocess name="NIST IGOR">
-      <SASprocessnote>Macintosh HD:Users:ajj:Documents:Work:Devel:DANSE:test data:simulated:SIMUL_1000A_sphere_dsm.txt
-Chi^2 = 0.998099   PowerLaw m = -4.09   Iterations = 17
-0 box smooth passes and 0 smoothing spline passes
-CREATED: Wed, May 26, 2010 at  2:43:15 PM
-</SASprocessnote>
-    </SASprocess>
-    <SASnote/>
-  </SASentry>
-</SASroot>
