Changeset 219


Ignore:
Timestamp:
Dec 4, 2007 4:25:39 PM (15 years ago)
Author:
ajj
Message:

Adding choice of number of fit points to USANS loader.

Location:
sans/Analysis/branches/ajj_23APR07/IGOR_Package_Files/Put in User Procedures/SANS_Models_v3.00
Files:
2 edited

Legend:

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

    r211 r219  
    147147                                endif 
    148148                                SetDataFolder $("root:"+baseStr) 
     149                                Print "Old Data Folder" 
     150                                Print GetDataFolder(1) 
    149151                else 
    150152                        NewDataFolder/S $("root:"+baseStr) 
     153                        Print "New Data Folder" 
     154                        Print GetDatFolder(1) 
    151155                endif 
    152156 
  • sans/Analysis/branches/ajj_23APR07/IGOR_Package_Files/Put in User Procedures/SANS_Models_v3.00/USANS_SlitSmearing.ipf

    r218 r219  
    3232        //Variable/G USANS_m = EnterSlope(baseStr) 
    3333        Variable/G USANS_m = -4 
     34        Variable/G USANS_slope_numpnts = 10 
    3435         
    3536        EnterSlope(basestr) 
     
    5758End 
    5859 
    59 // This is far from satisfactory! 
    6060Function EnterSlope(baseStr) 
    6161        String baseStr 
     
    7777        Button button_Cancel,pos={233,317},size={55,20},title="Cancel",font="Geneva" 
    7878        Button button_Cancel,proc=USANS_Slope_ButtonProc 
    79         SetVariable setvar_numpnts, pos={43,330}, size={100,19}, title="# Points",fSize=13 
    80         SetVariable setvar_Slope 
     79        SetVariable setvar_numpnts, pos={43,350}, size={150,19}, title="# Points",fSize=13 
     80        SetVariable setvar_numpnts, value= USANS_slope_numpnts  
    8181        SetVariable setvar_Slope,pos={43,321},size={100,19},title="Slope",fSize=13 
    8282        SetVariable setvar_Slope,limits={-inf,inf,0},value= USANS_m 
    8383        Display/W=(9,6,402,305)/HOST=USANS_Slope $(basestr+"_i") vs $(basestr+"_q") 
    8484        RenameWindow #,SlopePlot 
     85        ModifyGraph log=1 
    8586        SetActiveSubwindow ## 
    8687         
Note: See TracChangeset for help on using the changeset viewer.