Ignore:
Timestamp:
Aug 30, 2007 4:24:41 PM (15 years ago)
Author:
srkline
Message:

Changed Plot* and PlotSmeared?* naming schemes to be all consistent prefixes for the actual function name, so that the macros can be constructed from the function name, or vice versa.

also some tweaks to the wrapper to make sure that plot and append really work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Analysis/branches/ajj_23APR07/IGOR_Package_Files/Put in User Procedures/SANS_Models_v3.00/Power_Law_model.ipf

    r151 r153  
    55//      J. Barker, 2-10-99 
    66////////////////////////////////// 
    7 Proc PlotPower_Law(num,qmin,qmax) 
     7Proc PlotPower_Law_Model(num,qmin,qmax) 
    88        Variable num=512, qmin=.001, qmax=.2 
    99        Prompt num "Enter number of data points for model: " 
     
    3131//////////////////////////////////////////////////// 
    3232// - sets up a dependency to a wrapper, not the actual SmearedModelFunction 
    33 Proc PlotSmearedPower_Law(str)                                                           
     33Proc PlotSmearedPower_Law_Model(str)                                                             
    3434        String str 
    3535        Prompt str,"Pick the data folder containing the resolution you want",popup,getAList(4) 
     
    6666 
    6767//AAO version 
    68 Function Power_Law_model(cw,yw,xw) : FitFunc 
     68Function Power_Law_Model(cw,yw,xw) : FitFunc 
    6969        Wave cw,yw,xw 
    7070 
    71 #if exists("Power_Law_modelX") 
    72         yw = Power_Law_modelX(cw,xw) 
     71#if exists("Power_Law_ModelX") 
     72        yw = Power_Law_ModelX(cw,xw) 
    7373#else 
    74         yw = fPower_Law_model(cw,xw) 
     74        yw = fPower_Law_Model(cw,xw) 
    7575#endif 
    7676        return(0) 
    7777End 
    7878 
    79 Function fPower_Law_model(w,x) : FitFunc 
     79Function fPower_Law_Model(w,x) : FitFunc 
    8080        Wave w 
    8181        Variable x 
Note: See TracChangeset for help on using the changeset viewer.