Changeset 29 for sans/USANSReduction/branches/AJJ-branch1/Put in User Procedures Folder/USANS Procedures v2.00/Main_USANS.ipf
- Timestamp:
- Jan 10, 2007 1:52:56 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/USANSReduction/branches/AJJ-branch1/Put in User Procedures Folder/USANS Procedures v2.00/Main_USANS.ipf
r28 r29 21 21 Menu "USANS" 22 22 "USANS Reduction Panel",ShowUSANSPanel() 23 "New USANS Reduction Panel",ShowUSANSPanelNew()24 23 "Build USANS Notebook" 25 24 "Desmear USANS Data",Desmear() … … 35 34 Proc ShowUSANSPanel() 36 35 //version number 37 Variable/G root:USANS_RED_VERSION=2.11 //distribution as of 01MAY0636 Variable/G root:USANS_RED_VERSION=2.11 //distribution as of Jan 2007 38 37 39 38 Init_MainUSANS() … … 41 40 if(V_Flag==0) 42 41 USANS_Panel() 43 Endif44 End45 46 Proc ShowUSANSPanelNew()47 //version number48 Variable/G root:USANS_RED_VERSION=2.11 //distribution as of OCT0649 50 Init_MainUSANS()51 DoWindow/F USANS_Panel_NG52 if(V_Flag==0)53 USANS_Panel_NG()54 42 Endif 55 43 End … … 118 106 // 119 107 120 Window USANS_Panel_NG() : Panel 121 DoWindow/K USANS_Panel 122 DoWindow/K USANS_Panel_NG 108 Window USANS_Panel() : Panel 123 109 PauseUpdate; Silent 1 // building window... 124 110 NewPanel /W=(501,44,915,493)/K=1 as "USANS_Panel" … … 181 167 EndMacro 182 168 183 Proc USANS_Panel()184 DoWindow/K USANS_Panel_NG185 DoWindow/K USANS_Panel186 PauseUpdate; Silent 1 // building window...187 NewPanel /W=(501,44,925,391) /K=1 as "USANS_Panel"188 DoWindow/C USANS_Panel189 SetDrawLayer UserBack190 SetDrawEnv fstyle= 1191 DrawText 16,53,"Data Files"192 SetDrawEnv fstyle= 1193 DrawText 234,140,"Empty Scans"194 SetDrawEnv fstyle= 1195 DrawText 229,58,"Sample Scans"196 DrawLine 206,224,387,224197 DrawLine 5,33,370,33198 SetDrawEnv fstyle= 1199 DrawText 9,251,"Raw Data Header"200 ListBox fileLB,pos={5,59},size={155,146},proc=FileListBoxProc201 ListBox fileLB,listWave=root:Globals:MainPanel:fileWave202 ListBox fileLB,selWave=root:Globals:MainPanel:selFileW,mode= 4203 ListBox samLB,pos={207,59},size={150,66},listWave=root:Globals:MainPanel:samWave204 ListBox samLB,mode= 1,selRow= 1205 Button ClearSamButton,pos={170,103},size={30,20},proc=ClearButtonProc,title="Clr"206 Button ClearSamButton,help={"Clears the list of sample scans"}207 Button ClearEmpButton,pos={170,185},size={30,20},proc=ClearButtonProc,title="Clr"208 Button ClearEmpButton,help={"Clears the list of empty scans"}209 Button RefreshButton,pos={97,36},size={60,20},proc=RefreshListButtonProc,title="Refresh"210 Button RefreshButton,help={"Refreshes the list of raw ICP data files"}211 Button DelSamButton,pos={167,81},size={35,20},proc=DelSamButtonProc,title="Del"212 Button DelSamButton,help={"Deletes the selected file(s) from the list of sample scans"}213 Button DelEmpButton,pos={167,163},size={35,20},proc=DelEmpButtonProc,title="Del"214 Button DelEmpButton,help={"Deletes the selected file(s) from the list of empty scans"}215 ListBox empLB,pos={206,142},size={153,66}216 ListBox empLB,listWave=root:Globals:MainPanel:empWave,mode= 1,selRow= 0217 Button toSamList,pos={167,59},size={35,20},proc=toSamListButtonProc,title="->S"218 Button toSamList,help={"Adds the selected file(s) to the list of sample scans"}219 Button toEmpList,pos={167,141},size={35,20},proc=toEmptyListButtonProc,title="->E"220 Button toEmpList,help={"Adds the selected file(s) to the list of empty (cell) scans"}221 // Button PlotButton,pos={27,208},size={110,20},proc=PlotRawButtonProc,title="Plot Raw Data"222 // Button PlotButton,help={"Plot the selected raw data file along with its transmission and monitor counts"}223 ListBox StatusLB,pos={7,256},size={189,83}224 ListBox StatusLB,listWave=root:Globals:MainPanel:statusWave225 Button pickPathButton,pos={6,8},size={80,20},proc=PickBT5PathButton,title="DataPath..."226 Button pickPathButton,help={"Select the data folder where the raw ICP data files are located"}227 Button PlotSelectedSAMButton,pos={364,61},size={50,20},proc=PlotSelectedSAMButtonProc,title="Plot"228 Button PlotSelectedSAMButton,help={"Plot the selected sample scattering files in the COR_Graph"}229 Button PlotSelectedEMPButton,pos={366,143},size={50,20},proc=PlotSelectedEMPButtonProc,title="Plot"230 Button PlotSelectedEMPButton,help={"Plot the selected empty cell scattering files in the COR_Graph"}231 Button pickSavePathButton,pos={97,8},size={80,20},proc=PickSaveButtonProc,title="SavePath..."232 Button pickSavePathButton,help={"Select the data folder where data is to be saved to disk"}233 Button USANSHelpButton,pos={200,8},size={50,20},proc=USANSHelpButtonProc,title="Help"234 Button USANSHelpButton,help={"Show the USANS reduction help file"}235 EndMacro236 237 169 //draws a simple graph of the monitor counts, transmission counts, and detector counts 238 170 // plots the selected raw data file when "plot raw" is selected from the USANS_Panel
Note: See TracChangeset
for help on using the changeset viewer.