Changeset 157
- Timestamp:
- Sep 7, 2007 9:20:29 AM (15 years ago)
- Location:
- sans/Analysis/branches/ajj_23APR07
- Files:
-
- 3 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Analysis/branches/ajj_23APR07/IGOR_Package_Files/Put in User Procedures/SANS_Models_v3.00/GaussUtils.ipf
r145 r157 84 84 while(1) 85 85 86 // remove myGlobals from the folder list86 // remove myGlobals, Packages from the folder list 87 87 if(type==4) 88 88 str = RemoveFromList("myGlobals", str , ";" ) 89 str = RemoveFromList("Packages", str, ";") 89 90 endif 90 91 -
sans/Analysis/branches/ajj_23APR07/IGOR_Package_Files/Put in User Procedures/SANS_Models_v3.00/Packages/Wrapper.ipf
r153 r157 27 27 Button button_2,pos={270,93},size={80,20},proc=AppendModelToTarget,title="Append" 28 28 PopupMenu popup_0,pos={30,21},size={218,20},title="Data Set" 29 PopupMenu popup_0,mode=1,value= #" DataSetPopupList()"29 PopupMenu popup_0,mode=1,value= #"W_DataSetPopupList()" 30 30 PopupMenu popup_1,pos={30,57},size={136,20},title="Function" 31 31 PopupMenu popup_1,mode=1,value= #"W_FunctionPopupList()" … … 44 44 45 45 // is there a simpler way to do this? 46 Function/S DataSetPopupList()46 Function/S W_DataSetPopupList() 47 47 48 48 String str=GetAList(4),tmp="",onTargetStr="" … … 84 84 tmp = FunctionList("*_proto",";","KIND:10") //prototypes 85 85 list = RemoveFromList(tmp, list ,";") 86 // Print "everything - proto = ",list 87 // print " " 86 //prototypes that show up if GF is loaded 87 list = RemoveFromList("GFFitFuncTemplate", list) 88 list = RemoveFromList("GFFitAllAtOnceTemplate", list) 89 list = RemoveFromList("NewGlblFitFunc", list) 90 list = RemoveFromList("NewGlblFitFuncAllAtOnce", list) 91 list = RemoveFromList("GlobalFitFunc", list) 92 list = RemoveFromList("GlobalFitAllAtOnce", list) 93 list = RemoveFromList("GFFitAAOStructTemplate", list) 94 list = RemoveFromList("NewGF_SetXWaveInList", list) 95 list = RemoveFromList("NewGlblFitFuncAAOStruct", list) 88 96 89 97 tmp = FunctionList("f*",";","NPARAMS:2") //point calculations 90 // Print "f* = ",tmp91 // print " "92 98 list = RemoveFromList(tmp, list ,";") 93 99 94 100 tmp = FunctionList("fSmear*",";","NPARAMS:3") //smeared dependency calculations 95 // Print "f* = ",tmp96 // print " "97 101 list = RemoveFromList(tmp, list ,";") 98 102 … … 177 181 endif 178 182 else 179 return(0) //get out 183 // must be unsmeared model, work in the root folder 184 SetDataFolder root: 185 if(!exists(popStr)) //this should be fine if the coef filter is working, but check anyhow 186 DoAlert 0,"the coefficient and data sets do not match" 187 return 0 188 endif 180 189 endif 181 190 … … 430 439 endif 431 440 432 //if useCursors, and the data is USANS, need to feed a trimmed matrix to the fit 441 //if useCursors, and the data is USANS, need to feed a (reassigned) trimmed matrix to the fit 442 Variable pt1,pt2,newN 433 443 if(useCursors && (dimsize(resW,1) > 4) ) 434 Variable pt1,pt2,newN435 444 if(pcsr(A) > pcsr(B)) 436 445 pt1 = pcsr(B) … … 447 456 WAVE fs.resW = crsrResW 448 457 endif 458 // if(useCursors) //make a mask wave instead (this DOES NOT work due to the internal workings of FuncFit trimming the wave) 459 // if(pcsr(A) > pcsr(B)) 460 // pt1 = pcsr(B) 461 // pt2 = pcsr(A) 462 // else 463 // pt1 = pcsr(A) 464 // pt2 = pcsr(B) 465 // endif 466 // Duplicate/O yw $(DF+"maskW") 467 // Wave maskW = $(DF+"maskW") 468 // maskW = ((p < pt2) && (p > pt1)) ? 1 : 0 //0 = unused points, 1= keepers 469 // Endif 449 470 //// 450 471 -
sans/Analysis/branches/ajj_23APR07/IGOR_Package_Files/Put in User Procedures/SANS_Models_v3.00/PlotUtilsMacro.ipf
r138 r157 148 148 // make a resolution matrix for SANS data 149 149 Variable np=numpnts($w0) 150 Make/ O/N=(np,4) $(baseStr+"_res")150 Make/D/O/N=(np,4) $(baseStr+"_res") 151 151 152 152 $(baseStr+"_res")[][0] = $w3[p] //sigQ -
sans/Analysis/branches/ajj_23APR07/XOPs/SANSAnalysis/XCode/SANSAnalysis.xcodeproj/project.pbxproj
r119 r157 40 40 /* End PBXBuildFile section */ 41 41 42 /* Begin PBXBuildStyle section */ 43 067F67CF0C5681C800BE7E0F /* Development */ = { 44 isa = PBXBuildStyle; 45 buildSettings = { 46 COPY_PHASE_STRIP = NO; 47 }; 48 name = Development; 49 }; 50 067F67D00C5681C800BE7E0F /* Deployment */ = { 51 isa = PBXBuildStyle; 52 buildSettings = { 53 COPY_PHASE_STRIP = YES; 54 }; 55 name = Deployment; 56 }; 57 /* End PBXBuildStyle section */ 58 42 59 /* Begin PBXCopyFilesBuildPhase section */ 43 60 05305DB30BDDA19400578444 /* CopyFiles */ = { … … 103 120 053062400BDE9DC800578444 /* sphereform */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = sphereform; sourceTree = BUILT_PRODUCTS_DIR; }; 104 121 053062460BDE9DFF00578444 /* sphereform.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = sphereform.c; path = ../test/sphereform.c; sourceTree = SOURCE_ROOT; }; 105 058F35C70BDD341100D07487 /* libXOPSupport.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libXOPSupport.a; path = ../../XOPSupport/Xcode/libXOPSupport.a; sourceTree = SOURCE_ROOT; };122 058F35C70BDD341100D07487 /* libXOPSupport.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libXOPSupport.a; path = /Users/srkline/IGOR_Programming/XOP_Toolkit_5/IgorXOPs5/XOPSupport/Xcode/libXOPSupport.a; sourceTree = "<absolute>"; }; 106 123 05D47DBA0BF1FFCF00335CA7 /* libFunc2D.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = libFunc2D.h; path = ../lib/libFunc2D.h; sourceTree = SOURCE_ROOT; }; 107 124 05D47DBB0BF1FFD000335CA7 /* libFunc2D.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = libFunc2D.c; path = ../lib/libFunc2D.c; sourceTree = SOURCE_ROOT; }; … … 295 312 isa = PBXProject; 296 313 buildConfigurationList = 4FADC23708B4156C00ABE55E /* Build configuration list for PBXProject "SANSAnalysis" */; 314 buildSettings = { 315 }; 316 buildStyles = ( 317 067F67CF0C5681C800BE7E0F /* Development */, 318 067F67D00C5681C800BE7E0F /* Deployment */, 319 ); 297 320 hasScannedForEncodings = 1; 298 321 mainGroup = 089C166AFE841209C02AAC07 /* SANSAnalysis */; … … 514 537 GCC_WARN_ABOUT_RETURN_TYPE = YES; 515 538 GCC_WARN_UNUSED_VARIABLE = YES; 516 PREBINDING = NO; 539 LIBRARY_SEARCH_PATHS = /Users/srkline/IGOR_Programming/XOP_Toolkit_5/IgorXOPs5/XOPSupport/Xcode; 540 PREBINDING = NO; 541 REZ_SEARCH_PATHS = /Users/srkline/IGOR_Programming/XOP_Toolkit_5/IgorXOPs5/XOPSupport; 517 542 SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; 543 USER_HEADER_SEARCH_PATHS = /Users/srkline/IGOR_Programming/XOP_Toolkit_5/IgorXOPs5/XOPSupport; 518 544 }; 519 545 name = "Release - PPC"; … … 584 610 GCC_WARN_ABOUT_RETURN_TYPE = YES; 585 611 GCC_WARN_UNUSED_VARIABLE = YES; 586 PREBINDING = NO; 612 LIBRARY_SEARCH_PATHS = /Users/srkline/IGOR_Programming/XOP_Toolkit_5/IgorXOPs5/XOPSupport/Xcode; 613 PREBINDING = NO; 614 REZ_SEARCH_PATHS = /Users/srkline/IGOR_Programming/XOP_Toolkit_5/IgorXOPs5/XOPSupport; 587 615 SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; 616 USER_HEADER_SEARCH_PATHS = /Users/srkline/IGOR_Programming/XOP_Toolkit_5/IgorXOPs5/XOPSupport; 588 617 }; 589 618 name = Debug; … … 594 623 GCC_WARN_ABOUT_RETURN_TYPE = YES; 595 624 GCC_WARN_UNUSED_VARIABLE = YES; 596 PREBINDING = NO; 625 LIBRARY_SEARCH_PATHS = /Users/srkline/IGOR_Programming/XOP_Toolkit_5/IgorXOPs5/XOPSupport/Xcode; 626 PREBINDING = NO; 627 REZ_SEARCH_PATHS = /Users/srkline/IGOR_Programming/XOP_Toolkit_5/IgorXOPs5/XOPSupport; 597 628 SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; 629 USER_HEADER_SEARCH_PATHS = /Users/srkline/IGOR_Programming/XOP_Toolkit_5/IgorXOPs5/XOPSupport; 598 630 }; 599 631 name = "Release - Universal";
Note: See TracChangeset
for help on using the changeset viewer.