Ignore:
Timestamp:
Oct 16, 2014 10:59:26 AM (8 years ago)
Author:
srkline
Message:

Changes to VCALC files, moving detector information into sub-folders in anticipation of the possible folder structure that I will use for the actual data reduction. But purely speculative at this point.

Fixing some typos in other procedures.

File:
1 edited

Legend:

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

    r940 r947  
    10521052End 
    10531053 
     1054Function/S GetASCDataFileList() 
     1055         
     1056        //make sure that path exists 
     1057        PathInfo catPathName 
     1058        if (V_flag == 0) 
     1059                Abort "Folder path does not exist - use Pick Path button on Main Panel" 
     1060        Endif 
     1061         
     1062        String list=IndexedFile(catPathName,-1,"????") 
     1063        String newList="",item="" 
     1064        Variable num=ItemsInList(list,";"),ii 
     1065        for(ii=0;ii<num;ii+=1) 
     1066                item = StringFromList(ii, list  ,";") 
     1067                if(stringmatch(item,"*.ASC") ) 
     1068                        newlist += item + ";" 
     1069                endif 
     1070        endfor 
     1071         
     1072        newList = SortList(newList,";",0) 
     1073        return(newList) 
     1074End 
     1075 
     1076 
     1077 
    10541078//********************** 
    10551079// 2D resolution function calculation - in terms of X and Y 
Note: See TracChangeset for help on using the changeset viewer.