Changeset 595 for sans/Dev/trunk/NCNR_User_Procedures/Analysis/Packages
- Timestamp:
- Nov 4, 2009 2:21:47 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Analysis/Packages/SumModel/SumSANSModels_v40.ipf
r570 r595 123 123 Function/S SumModelPopupList() 124 124 String list,tmp 125 list = FunctionList("!Smear*",";","KIND:10") //don't show smeared models 126 125 126 //get every user defined curve fit function, remove everything the user doesn't need to see... 127 list = User_FunctionPopupList() 128 129 // must remove Sum_Model 127 130 list = RemoveFromList("Sum_Model", list ,";") 128 129 tmp = FunctionList("*_proto",";","KIND:10") //prototypes 131 132 // can remove the smeared models either this way, or using GrepList as below 133 // tmp = FunctionList("Smear*",";","KIND:10") //don't show smeared models 134 // list = RemoveFromList(tmp, list ,";") 135 136 // 137 //// Print list 138 tmp = GrepList(list,"^Smear") //don't show the Smeared... models in the popup 139 Print tmp 130 140 list = RemoveFromList(tmp, list ,";") 131 132 // Print list 133 tmp = GrepList(FunctionList("f*",";","KIND:10"),"^f") 134 // tmp = FunctionList("f*",";","KIND:10") //point calculations 135 136 // Print tmp 137 138 list = RemoveFromList(tmp, list ,";") 139 140 // this should be a null string with KIND:10 141 tmp = FunctionList("*X",";","KIND:10") //XOPs, also point calculations 142 list = RemoveFromList(tmp, list ,";") 143 144 // remove some odds and ends... 145 tmp = "UpdateQxQy2Mat;" 146 tmp += "MakeBSMask;" 147 list = RemoveFromList(tmp, list ,";") 141 // 148 142 149 143 return(list)
Note: See TracChangeset
for help on using the changeset viewer.