Changeset 177 for sans/Analysis/branches/ajj_23APR07/IGOR_Package_Files
- Timestamp:
- Oct 2, 2007 12:32:43 PM (15 years ago)
- Location:
- sans/Analysis/branches/ajj_23APR07/IGOR_Package_Files/Put in User Procedures/SANS_Models_v3.00
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Analysis/branches/ajj_23APR07/IGOR_Package_Files/Put in User Procedures/SANS_Models_v3.00/Packages/ModelPicker/SANSModelPicker.ipf
r172 r177 223 223 Proc Procedure_List() 224 224 PauseUpdate; Silent 1 // building window... 225 NewPanel /W=(1115,44,1453,263)/K=2225 NewPanel /W=(1115,44,1453,363) /K=2 226 226 DoWindow/C Procedure_List 227 227 ModifyPanel fixedSize=1 228 ListBox fileList,pos={4,3},size={200,100},listWave=root:myGlobals:FileList:fileWave 228 229 ListBox fileList,pos={4,3},size={200,203},listWave=root:myGlobals:FileList:fileWave 229 230 ListBox fileList,selWave=root:myGlobals:FileList:selWave,mode= 4 230 ListBox inclList,pos={4, 110},size={200,100}231 ListBox inclList,pos={4,212},size={200,100} 231 232 ListBox inclList,listWave=root:myGlobals:FileList:includedFileWave 232 233 ListBox inclList,selWave=root:myGlobals:FileList:selToDelWave,mode= 4 233 Button button0,pos={212, 77},size={110,20},proc=FileList_InsertButtonProc,title="Include File(s)"234 Button button0,pos={212,173},size={110,20},proc=FileList_InsertButtonProc,title="Include File(s)" 234 235 Button button0,help={"Includes the selected procedures, functions appear under the SANS Models menu"} 235 Button button5,pos={212, 187},size={110,20},proc=FileList_RemoveButtonProc,title="Remove File(s)"236 Button button5,pos={212,283},size={110,20},proc=FileList_RemoveButtonProc,title="Remove File(s)" 236 237 Button button5,help={"Removes selected procedures from the experiment"} 237 Button PickerButton,pos={212,1 2},size={90,20},proc=FileList_HelpButtonProc,title="PickerHelp"238 Button PickerButton,pos={212,14},size={90,20},proc=FileList_HelpButtonProc,title="Help" 238 239 Button PickerButton,help={"If you need help understanding what a help button does, you really need help"} 239 Button button1,pos={212,3 5},size={100,20},proc=FileList_HelpButtonProc,title="Function Help"240 Button button1,pos={212,37},size={100,20},proc=FileList_HelpButtonProc,title="Function Help" 240 241 Button button1,help={"If you need help understanding what a help button does, you really need help"} 242 GroupBox group0,pos={203,128},size={46,11},title="Select model functions" 243 GroupBox group0_1,pos={203,145},size={46,11},title="to include" 241 244 EndMacro 242 245 -
sans/Analysis/branches/ajj_23APR07/IGOR_Package_Files/Put in User Procedures/SANS_Models_v3.00/Packages/Wrapper.ipf
r173 r177 297 297 // get them onto the table 298 298 // how do I get the parameter name? 299 String param = WaveList("*param* "+suffix, "", "TEXT:1," ) //this is *hopefully* one wave299 String param = WaveList("*param*_"+suffix, "", "TEXT:1," ) //this is *hopefully* one wave 300 300 AppendtoTable/W=wrapperPanel#T0 $param,$(popStr) 301 301 AppendToTable/W=wrapperPanel#T0 $("Hold_"+suffix),$("LoLim_"+suffix),$("HiLim_"+suffix),$("epsilon_"+suffix) … … 384 384 End 385 385 386 // How to bypass the step of plot and append? 387 // 388 // - does not yet work 389 // -- may need more serious changes in the way the "Plot" macros work 390 // - may need to have a separate "append" button that looks at what is available in the specified 391 // data folder, or as a PauseForUser, after the plot is done 392 // 393 // - different Cmd if smeared or unsmeared 394 // - stringent "PlotNNN" naming requirements 386 387 388 // - this is based on stringent "PlotNNN" naming requirements 389 // 390 // ??? 395 391 // - how to kill the generated table and graph, that are not needed now 396 //397 // - how to plot when there are no files loaded, no data folders, no resolution information398 392 // 399 393 Function PlotModelFunction(ba) : ButtonControl … … 414 408 if(stringmatch(funcStr, "Smear*" )==1) 415 409 //it's a smeared model 416 sprintf cmdStr, "Plot%s(\"%s\")",funcStr,folderStr 410 // check for the special case of RPA that has an extra parameter 411 if(strsearch(funcStr, "RPAForm", 0 ,0) == -1) 412 sprintf cmdStr, "Plot%s(\"%s\")",funcStr,folderStr //not RPA 413 else 414 sprintf cmdStr, "Plot%s(\"%s\",)",funcStr,folderStr //yes RPA, leave a comma for input 415 endif 417 416 else 418 417 // it's not, -
sans/Analysis/branches/ajj_23APR07/IGOR_Package_Files/Put in User Procedures/SANS_Models_v3.00/SA_includes_v301.ipf
r176 r177 20 20 Menu "SANS Models" 21 21 "Fit Manager", Init_WrapperPanel() 22 "Load Model Functions",Execute/P "INSERTINCLUDE \"SANSModelPicker\"";Execute/P "COMPILEPROCEDURES ";Execute/P "ModelPicker_Panel()" 22 23 "Plot Manager", Show_Plot_Manager() 23 "Load Model Functions",Execute/P "INSERTINCLUDE \"SANSModelPicker\"";Execute/P "COMPILEPROCEDURES ";Execute/P "ModelPicker_Panel()"24 24 "Write Model Data" 25 25 "-"
Note: See TracChangeset
for help on using the changeset viewer.