Ignore:
Timestamp:
Jul 20, 2011 9:40:32 AM (12 years ago)
Author:
srkline
Message:

Changed 2-yukawa to have better names for the parameters, a macro to plot g(r), and to return S(q)=1000 if the calculation fails, to be more obvious.

Added a Corrlation matrix function (in Wrapper.ipf), but it's not linked anywhere yet, since I don't know yet how best to display it.

Simplified the function to list .ASC files

Added comments to the polarization panel procedures.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/WorkFileUtils.ipf

    r794 r824  
    15001500//can be lots of other junk present, but this is very fast... 
    15011501// 
     1502// -- simplified to do in a single call -- extension must be .ASC 
     1503// - so far, only used in WorkFileMath popups, which require .ASC 
     1504// 
    15021505Function/S ASC_FileList() 
    15031506 
     
    15111514                Return("") 
    15121515        Endif 
    1513          
    1514         list = IndexedFile(catpathName,-1,"????") 
    1515          
    1516         list = RemoveFromList(ListMatch(list,"*.SA1*",";"), list, ";", 0) 
    1517         list = RemoveFromList(ListMatch(list,"*.SA2*",";"), list, ";", 0) 
    1518         list = RemoveFromList(ListMatch(list,"*.SA3*",";"), list, ";", 0) 
    1519         list = RemoveFromList(ListMatch(list,".*",";"), list, ";", 0) 
    1520         list = RemoveFromList(ListMatch(list,"*.pxp",";"), list, ";", 0) 
    1521         list = RemoveFromList(ListMatch(list,"*.DIV",";"), list, ";", 0) 
    1522         list = RemoveFromList(ListMatch(list,"*.GSP",";"), list, ";", 0) 
    1523         list = RemoveFromList(ListMatch(list,"*.MASK",";"), list, ";", 0) 
    1524  
    1525         //remove VAX version numbers 
    1526         list = RemoveVersNumsFromList(List) 
     1516 
     1517        list = IndexedFile(catpathName,-1,".ASC") 
     1518 
     1519 
     1520//      list = IndexedFile(catpathName,-1,"????") 
     1521//       
     1522//      list = RemoveFromList(ListMatch(list,"*.SA1*",";"), list, ";", 0) 
     1523//      list = RemoveFromList(ListMatch(list,"*.SA2*",";"), list, ";", 0) 
     1524//      list = RemoveFromList(ListMatch(list,"*.SA3*",";"), list, ";", 0) 
     1525//      list = RemoveFromList(ListMatch(list,".*",";"), list, ";", 0) 
     1526//      list = RemoveFromList(ListMatch(list,"*.pxp",";"), list, ";", 0) 
     1527//      list = RemoveFromList(ListMatch(list,"*.DIV",";"), list, ";", 0) 
     1528//      list = RemoveFromList(ListMatch(list,"*.GSP",";"), list, ";", 0) 
     1529//      list = RemoveFromList(ListMatch(list,"*.MASK",";"), list, ";", 0) 
     1530// 
     1531//      //remove VAX version numbers 
     1532//      list = RemoveVersNumsFromList(List) 
    15271533        //sort 
    15281534        newList = SortList(List,";",0) 
Note: See TracChangeset for help on using the changeset viewer.