Index: example/sesansfit.py
===================================================================
--- example/sesansfit.py	(revision 9c117a293e54d65d07bc4902eeab78dc58a6a8f8)
+++ example/sesansfit.py	(revision 33d38d57ac52c5b89fc9d1954f5929f5f365d659)
@@ -11,7 +11,9 @@
     from sas.dataloader.loader import Loader
     loader=Loader()
-    data=loader.load('testsasview1.ses')
+    data=loader.load('se008724_01.ses')
+#    data=loader.load('testsasview1.ses')
+ 
     data.x /=10
-    
+#    print data
 #    data = load_sesans('mydatfile.pz')
 #    sans_data = load_sans('mysansfile.xml')
@@ -43,8 +45,8 @@
 model = sas.BumpsModel(data, kernel,
     scale=phi*(1-phi), sld=7.0, solvent_sld=1.0, radius=radius)
-phi.range(0.001,0.90)
+phi.range(0.001,0.5)
 #model.radius.pmp(40)
-model.radius.range(100,10000)
-#model.sld.pmp(5)
+model.radius.range(1,10000)
+#model.sld.pm(5)
 #model.background
 #model.radius_pd=0
Index: example/testsasview1.ses
===================================================================
--- example/testsasview1.ses	(revision 33d38d57ac52c5b89fc9d1954f5929f5f365d659)
+++ example/testsasview1.ses	(revision 33d38d57ac52c5b89fc9d1954f5929f5f365d659)
@@ -0,0 +1,91 @@
+name	se009051.dat						
+sample	"SiO2 pH=6 & NiO pH=10, nanosized, in D2O, Sine ++ only."						
+collimation	"D1=D2=20x8 mm,Ds = 16x10 mm (WxH), GF1 =scanning, GF2 = 2.5 A. "						
+ID	CPD						
+Date	di 27 jan 2015 18:17:50						
+Method	sine one element scan						
+Thickness [mm]	10						
+z-acceptance [nm^-1]	0.3						
+y-acceptance [nm^-1]	0.3						
+							
+spin echo length [um]	error spin-echo length	wavelength [nm]	error wavelength	Sample 5	Sample 5 -error		
+29.882023	5	0.2095	0.01	0.997817556	0.00887342	0.029882023	29.882023
+85.257531	5	0.2095	0.01	1.0026184	0.009572307	0.085257531	85.257531
+140.798634	5	0.2095	0.01	0.996013172	0.012119508	0.140798634	140.798634
+196.560502	5	0.2095	0.01	0.991752656	0.011651473	0.196560502	196.560502
+252.528125	5	0.2095	0.01	0.995429571	0.012193294	0.252528125	252.528125
+308.729274	5	0.2095	0.01	0.995119819	0.009621277	0.308729274	308.729274
+365.037117	5	0.2095	0.01	0.997497767	0.012518842	0.365037117	365.037117
+421.684677	5	0.2095	0.01	0.994733865	0.010585926	0.421684677	421.684677
+478.564852	5	0.2095	0.01	0.992696275	0.010677724	0.478564852	478.564852
+535.715521	5	0.2095	0.01	0.994534294	0.012909556	0.535715521	535.715521
+593.24408	5	0.2095	0.01	0.986412268	0.014651894	0.59324408	593.24408
+650.985498	5	0.2095	0.01	0.988788566	0.015736468	0.650985498	650.985498
+709.203958	5	0.2095	0.01	0.989501168	0.013611615	0.709203958	709.203958
+767.809943	5	0.2095	0.01	0.99203933	0.016501891	0.767809943	767.809943
+826.762925	5	0.2095	0.01	0.994062723	0.010276207	0.826762925	826.762925
+886.302296	5	0.2095	0.01	0.979647192	0.011089421	0.886302296	886.302296
+946.236366	5	0.2095	0.01	0.97982075	0.013168527	0.946236366	946.236366
+1006.784115	5	0.2095	0.01	0.977927712	0.014362819	1.006784115	1006.784115
+1067.891213	5	0.2095	0.01	0.978351462	0.013239476	1.067891213	1067.891213
+1129.598722	5	0.2095	0.01	0.981246471	0.013896898	1.129598722	1129.598722
+1192.022694	5	0.2095	0.01	0.978275164	0.013747481	1.192022694	1192.022694
+1255.271282	5	0.2095	0.01	0.976818842	0.013487944	1.255271282	1255.271282
+1319.307134	5	0.2095	0.01	0.981546068	0.011972943	1.319307134	1319.307134
+1384.197821	5	0.2095	0.01	0.96445854	0.013357572	1.384197821	1384.197821
+1450.051342	5	0.2095	0.01	0.972756158	0.014756189	1.450051342	1450.051342
+1516.978619	5	0.2095	0.01	0.971010184	0.014210504	1.516978619	1516.978619
+1585.044577	5	0.2095	0.01	0.975009829	0.013648839	1.585044577	1585.044577
+1654.356194	5	0.2095	0.01	0.969575209	0.014454336	1.654356194	1654.356194
+1724.97535	5	0.2095	0.01	0.959907267	0.012806944	1.72497535	1724.97535
+1796.962718	5	0.2095	0.01	0.96219203	0.011845496	1.796962718	1796.962718
+1870.613025	5	0.2095	0.01	0.960157966	0.011721155	1.870613025	1870.613025
+1945.921163	5	0.2095	0.01	0.95089937	0.009967287	1.945921163	1945.921163
+2023.09841	5	0.2095	0.01	0.955584642	0.01104368	2.02309841	2023.09841
+2102.189874	5	0.2095	0.01	0.950786938	0.011651582	2.102189874	2102.189874
+2183.534527	5	0.2095	0.01	0.951403607	0.008784149	2.183534527	2183.534527
+2267.173021	5	0.2095	0.01	0.94561823	0.009392383	2.267173021	2267.173021
+2353.393035	5	0.2095	0.01	0.945882787	0.009468264	2.353393035	2353.393035
+2442.350387	5	0.2095	0.01	0.939583158	0.009164239	2.442350387	2442.350387
+2534.334343	5	0.2095	0.01	0.93731257	0.008621568	2.534334343	2534.334343
+2629.473374	5	0.2095	0.01	0.936639557	0.010408821	2.629473374	2629.473374
+2728.20036	5	0.2095	0.01	0.932091884	0.007112674	2.72820036	2728.20036
+2830.74992	5	0.2095	0.01	0.933852763	0.009200431	2.83074992	2830.74992
+2937.363026	5	0.2095	0.01	0.930283437	0.01022719	2.937363026	2937.363026
+3048.510973	5	0.2095	0.01	0.930121334	0.007055747	3.048510973	3048.510973
+3164.589926	5	0.2095	0.01	0.925944326	0.0078917	3.164589926	3164.589926
+3285.843756	5	0.2095	0.01	0.92351759	0.005522582	3.285843756	3285.843756
+3412.805801	5	0.2095	0.01	0.918228311	0.006917328	3.412805801	3412.805801
+3546.016792	5	0.2095	0.01	0.908621563	0.006852313	3.546016792	3546.016792
+3685.876213	5	0.2095	0.01	0.919087792	0.006995961	3.685876213	3685.876213
+3833.174832	5	0.2095	0.01	0.910132214	0.006107336	3.833174832	3833.174832
+3988.234456	5	0.2095	0.01	0.904491462	0.007078101	3.988234456	3988.234456
+4151.940408	5	0.2095	0.01	0.90056919	0.005934428	4.151940408	4151.940408
+4324.902332	5	0.2095	0.01	0.903155701	0.006249069	4.324902332	4324.902332
+4507.963711	5	0.2095	0.01	0.894919827	0.006196232	4.507963711	4507.963711
+4701.967049	5	0.2095	0.01	0.896358908	0.007324999	4.701967049	4701.967049
+4907.785127	5	0.2095	0.01	0.88807923	0.004530465	4.907785127	4907.785127
+5126.471149	5	0.2095	0.01	0.886649039	0.008924412	5.126471149	5126.471149
+5359.059759	5	0.2095	0.01	0.882051947	0.006055081	5.359059759	5359.059759
+5606.740304	5	0.2095	0.01	0.882573371	0.005727419	5.606740304	5606.740304
+5870.903592	5	0.2095	0.01	0.876289825	0.006062306	5.870903592	5870.903592
+6152.736235	5	0.2095	0.01	0.877318199	0.005307783	6.152736235	6152.736235
+6453.893169	5	0.2095	0.01	0.873610284	0.006918104	6.453893169	6453.893169
+6775.835415	5	0.2095	0.01	0.865954455	0.005625863	6.775835415	6775.835415
+7120.530581	5	0.2095	0.01	0.868037308	0.008662141	7.120530581	7120.530581
+7489.735939	5	0.2095	0.01	0.86676404	0.005761209	7.489735939	7489.735939
+7885.556041	5	0.2095	0.01	0.85655072	0.005731411	7.885556041	7885.556041
+8310.290162	5	0.2095	0.01	0.857936274	0.006954572	8.310290162	8310.290162
+8766.315359	5	0.2095	0.01	0.85520525	0.006559622	8.766315359	8766.315359
+9256.271706	5	0.2095	0.01	0.849739829	0.008907377	9.256271706	9256.271706
+9783.031577	5	0.2095	0.01	0.841487161	0.006547659	9.783031577	9783.031577
+10349.71409	5	0.2095	0.01	0.84801051	0.007574866	10.34971409	10349.71409
+10959.67923	5	0.2095	0.01	0.843342861	0.006411993	10.95967923	10959.67923
+11616.5969	5	0.2095	0.01	0.837488454	0.008141353	11.6165969	11616.5969
+12324.44664	5	0.2095	0.01	0.839214922	0.009987535	12.32444664	12324.44664
+13087.4723	5	0.2095	0.01	0.834336972	0.011467406	13.0874723	13087.4723
+13910.29604	5	0.2095	0.01	0.828775634	0.012483365	13.91029604	13910.29604
+14798.05061	5	0.2095	0.01	0.823088812	0.016035848	14.79805061	14798.05061
+15756.09817	5	0.2095	0.01	0.824329178	0.014838138	15.75609817	15756.09817
+16790.46783	5	0.2095	0.01	0.82023172	0.015286187	16.79046783	16790.46783
+17907.62866	5	0.2095	0.01	0.827559752	0.012612741	17.90762866	17907.62866
Index: sasmodels/bumps_model.py
===================================================================
--- sasmodels/bumps_model.py	(revision 9c117a293e54d65d07bc4902eeab78dc58a6a8f8)
+++ sasmodels/bumps_model.py	(revision 33d38d57ac52c5b89fc9d1954f5929f5f365d659)
@@ -221,10 +221,10 @@
     plt.errorbar(data.x, data.y, yerr=data.dy)
     plt.plot(data.x, theory, '-', hold=True)
-    plt.xlabel('spin echo length (A)')
-    plt.ylabel('polarization')
+    plt.xlabel('spin echo length (nm)')
+    plt.ylabel('polarization (P/P0)')
     plt.subplot(122)
     plt.plot(data.x, resid, 'x')
-    plt.xlabel('spin echo length (A)')
-    plt.ylabel('residuals')
+    plt.xlabel('spin echo length (nm)')
+    plt.ylabel('residuals (P/P0)')
 
 def _plot_result2D(data, theory, view):
