Ignore:
Timestamp:
Nov 12, 2008 4:45:15 PM (14 years ago)
Author:
srkline
Message:

Changes to the analysis package to add a few more model functions. Documentation and XOPs are to follow later.

General n-point gaussian quadrature has been added to GaussUtils? by including a Gauss-Laguere point generator from Numerical Recipes. See the Paracrystal models for an example, since they needed more than the 76 point quadrature.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Common/Packages/PlotManager/PlotUtilsMacro_v40.ipf

    r432 r444  
    106106//              print "filename :"+filename 
    107107                Variable numCols = V_flag 
     108                 
     109                //changes JIL to allow 2-column data to be read in, "faking" a 3rd column of errors 
     110                if(numCols==2) //no errors 
     111                        n1 = StringFromList(1, S_waveNames ,";" ) 
     112                        Duplicate/O $("root:"+n1), errorTmp 
     113                        errorTmp = 0.01*(errorTmp)+ 0.03*sqrt(errorTmp) 
     114                        S_waveNames+="errorTmp;" 
     115                        numCols=3 
     116                endif 
    108117                 
    109118                if(numCols==3)          //simple 3-column data with no resolution information 
Note: See TracChangeset for help on using the changeset viewer.