Ignore:
Timestamp:
Jan 16, 2013 3:44:53 PM (10 years ago)
Author:
srkline
Message:

Changes include:

updates to the simulation through SASCALC to allow easier "scripting" of SASCALC for simulation of "experiments"

updated some of the calibration values for the 10m SANS @ NGA

fixed bug in how the transmission error were being displayed in the TransFile? table (bad sort). Data was not affected, only the display.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Analysis/Packages/SumModel/SumSANSModels_v40.ipf

    r595 r887  
    257257// selected data folder 
    258258// 
    259 Proc PlotSmeared_Sum_Model(str)                                                          
     259Proc PlotSmearedSum_Model(str)                                                           
    260260        String str 
    261261        Prompt str,"Pick the data folder containing the resolution you want",popup,getAList(4) 
     
    311311                                         
    312312        Variable/G gs_sum=0 
    313         gs_sum := fSmeared_Sum_Model(smear_coef_sum,smeared_sum,smeared_qvals)  //this wrapper fills the STRUCT 
     313        gs_sum := fSmearedSum_Model(smear_coef_sum,smeared_sum,smeared_qvals)   //this wrapper fills the STRUCT 
    314314         
    315315        Display smeared_sum vs $(str+"_q")                                                                       
     
    321321         
    322322        SetDataFolder root: 
    323         AddModelToStrings("Smeared_Sum_Model","smear_coef_sum","smear_parameters_sum","sum") 
     323        AddModelToStrings("SmearedSum_Model","smear_coef_sum","smear_parameters_sum","sum") 
    324324         
    325325        // additional step to make sure the "helper waves" are the right dimension, in case the user 
     
    371371 
    372372// this is all there is to the smeared calculation! 
    373 Function Smeared_Sum_Model(s) : FitFunc 
     373Function SmearedSum_Model(s) : FitFunc 
    374374        Struct ResSmearAAOStruct &s 
    375375 
     
    385385// used only for the dependency, not for fitting 
    386386// 
    387 Function fSmeared_Sum_Model(coefW,yW,xW) 
     387Function fSmearedSum_Model(coefW,yW,xW) 
    388388        Wave coefW,yW,xW 
    389389         
     
    400400         
    401401        Variable err 
    402         err = Smeared_Sum_Model(fs) 
     402        err = SmearedSum_Model(fs) 
    403403         
    404404        return (0) 
Note: See TracChangeset for help on using the changeset viewer.