Ignore:
Timestamp:
Nov 4, 2009 2:21:47 PM (13 years ago)
Author:
srkline
Message:

XOPs added for CSParallelepiped, not for fractal_polysphere

Removed garbage from function popup list in SumSANSModels (changing the common filter function in PlotUtilsMacro?)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Analysis/Packages/SumModel/SumSANSModels_v40.ipf

    r570 r595  
    123123Function/S SumModelPopupList() 
    124124        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 
    127130        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        
    130140        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//       
    148142         
    149143        return(list) 
Note: See TracChangeset for help on using the changeset viewer.