- Timestamp:
- Apr 8, 2011 12:58:26 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Common/GaussUtils_v40.ipf
r794 r797 810 810 if (va<0) 811 811 va=0 //to avoid numerical error when va<0 (-ve q-value) 812 Print "truncated Gaussian at nominal q = ",x812 // Print "truncated Gaussian at nominal q = ",x 813 813 endif 814 814 vb = 3*i_sigq + i_qbar … … 906 906 endif 907 907 908 //answer = Smear_Model_N(fcn,w,x,resW,weightW,abscissW,nord)909 Smear_Model_N_AAO(fcn,w,x,resW,weightW,abscissW,nord,answer)908 answer = Smear_Model_N(fcn,w,x,resW,weightW,abscissW,nord) 909 // Smear_Model_N_AAO(fcn,w,x,resW,weightW,abscissW,nord,answer) 910 910 911 911 Return (0) … … 956 956 endif 957 957 958 //answer = Smear_Model_N(fcn,w,x,resW,weightW,abscissW,nord)959 Smear_Model_N_AAO(fcn,w,x,resW,weightW,abscissW,nord,answer)958 answer = Smear_Model_N(fcn,w,x,resW,weightW,abscissW,nord) 959 // Smear_Model_N_AAO(fcn,w,x,resW,weightW,abscissW,nord,answer) 960 960 961 961 Return (0) … … 1012 1012 endif 1013 1013 1014 //answer = Smear_Model_N(fcn,w,x,resW,weightW,abscissW,nord)1015 Smear_Model_N_AAO(fcn,w,x,resW,weightW,abscissW,nord,answer)1014 answer = Smear_Model_N(fcn,w,x,resW,weightW,abscissW,nord) 1015 // Smear_Model_N_AAO(fcn,w,x,resW,weightW,abscissW,nord,answer) 1016 1016 1017 1017 Return (0) … … 1060 1060 endif 1061 1061 1062 //answer = Smear_Model_N(fcn,w,x,resW,weightW,abscissW,nord)1063 Smear_Model_N_AAO(fcn,w,x,resW,weightW,abscissW,nord,answer)1062 answer = Smear_Model_N(fcn,w,x,resW,weightW,abscissW,nord) 1063 // Smear_Model_N_AAO(fcn,w,x,resW,weightW,abscissW,nord,answer) 1064 1064 1065 1065 Return (0) … … 1612 1612 // provides some speedup. 1613 1613 // 1614 // 1615 // 1616 // "backwards" wrapped to reduce redundant code 1617 // there are only 4 choices of N (5,10,20,76) for smearing 1614 //// APRIL 2011 *** this function is NOT YET CURSOR-AWARE. This needs to be addressed before it can be used 1618 1615 // 1619 1616 //
Note: See TracChangeset
for help on using the changeset viewer.