Ignore:
Timestamp:
May 4, 2010 10:47:11 AM (13 years ago)
Author:
srkline
Message:

Added flag /MAT on GenCurveFit? to actially generate the W_sigma error estimates and passed the values of the "V_" variables back to the wrapper for display and reports.

Changed how the USANS simulator calculates the number of points from the range and increment to match what is actually done on USANS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/USANS/U_CALC.ipf

    r689 r704  
    529529                        NVAR Incr = $("root:Packages:NIST:USANS:Globals:U_Sim:"+"gIncr"+ns) 
    530530                         
    531                         NumPts = trunc( (thetaMax - ThetaMin) / incr ) 
     531                        NumPts = trunc( (thetaMax - ThetaMin) / incr ) + 1                      //+1 to count both ends of the interval 
    532532                 
    533533                        CalcTotalCountTime() 
     
    580580 
    581581// new way - to spread the points out over the specified angle range 
    582                         incr = (thetaMax - thetaMin) / numpts 
     582                        incr = (thetaMax - thetaMin) /( numpts -1 )                     //-1 since end points are both counted 
    583583                         
    584584                        CalcTotalCountTime() 
Note: See TracChangeset for help on using the changeset viewer.