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/BE_Polyelectrolyte.ipf

    r151 r153  
    1313//////////////////////////////////////////////// 
    1414 
    15 Proc PlotBE_Polyelectrolyte(num,qmin,qmax) 
     15Proc PlotBEPolyelectrolyte(num,qmin,qmax) 
    1616        Variable num=512,qmin=0.001,qmax=0.2 
    1717        Prompt num "Enter number of data points for model: " 
     
    3636/////////////////////////////////////////////////////////// 
    3737// - sets up a dependency to a wrapper, not the actual SmearedModelFunction 
    38 Proc PlotSmearedBE_Polyelectrolyte(str)                                                          
     38Proc PlotSmearedBEPolyelectrolyte(str)                                                           
    3939        String str 
    4040        Prompt str,"Pick the data folder containing the resolution you want",popup,getAList(4) 
     
    5858                                         
    5959        Variable/G gs_BE=0 
    60         gs_BE := fSmearedBEPolyelec(smear_coef_BE,smeared_BE,smeared_qvals)     //this wrapper fills the STRUCT 
     60        gs_BE := fSmearedBEPolyelectrolyte(smear_coef_BE,smeared_BE,smeared_qvals)      //this wrapper fills the STRUCT 
    6161         
    6262        Display smeared_BE vs smeared_qvals                                                                     //**** mod 
     
    138138 
    139139// this is all there is to the smeared calculation! 
    140 Function SmearedBEPolyelec(s) :FitFunc 
     140Function SmearedBEPolyelectrolyte(s) :FitFunc 
    141141        Struct ResSmearAAOStruct &s 
    142142 
     
    152152// used only for the dependency, not for fitting 
    153153// 
    154 Function fSmearedBEPolyelec(coefW,yW,xW) 
     154Function fSmearedBEPolyelectrolyte(coefW,yW,xW) 
    155155        Wave coefW,yW,xW 
    156156         
     
    167167         
    168168        Variable err 
    169         err = SmearedBEPolyelec(fs) 
     169        err = SmearedBEPolyelectrolyte(fs) 
    170170         
    171171        return (0) 
Note: See TracChangeset for help on using the changeset viewer.