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.

Location:
sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS
Files:
5 edited

Legend:

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

    r940 r947  
    10771077End 
    10781078 
     1079Function/S GetASCDataFileList() 
     1080         
     1081        //make sure that path exists 
     1082        PathInfo catPathName 
     1083        if (V_flag == 0) 
     1084                Abort "Folder path does not exist - use Pick Path button on Main Panel" 
     1085        Endif 
     1086         
     1087        String list=IndexedFile(catPathName,-1,"????") 
     1088        String newList="",item="" 
     1089        Variable num=ItemsInList(list,";"),ii 
     1090        for(ii=0;ii<num;ii+=1) 
     1091                item = StringFromList(ii, list  ,";") 
     1092                if(stringmatch(item,"*.ASC") ) 
     1093                        newlist += item + ";" 
     1094                endif 
     1095        endfor 
     1096         
     1097        newList = SortList(newList,";",0) 
     1098        return(newList) 
     1099End 
     1100 
    10791101//********************** 
    10801102// 2D resolution function calculation - in terms of X and Y 
  • 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 
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/Marquee.ipf

    r794 r947  
    375375        Sort FileID BoxCounts,FileID            //sort the waves, in case the run numbers were entered out of numerical order 
    376376         
    377         Display /W=(5,44,383,306) BoxCounts vs FileID 
    378         ModifyGraph mode=4 
    379         ModifyGraph marker=8 
    380         ModifyGraph grid=2 
    381         ModifyGraph mirror=2 
    382         ErrorBars/T=0 BoxCounts Y,wave=(BoxCount_err,BoxCount_err) 
    383         Label left "Counts (per 10^8 monitor counts)" 
    384         Label bottom "Run Number" 
    385          
     377        DoWindow BoxCountGraph 
     378        if(V_flag == 0) 
     379                Display /W=(5,44,383,306) BoxCounts vs FileID 
     380                DoWindow/C BoxCountGraph 
     381                ModifyGraph mode=4 
     382                ModifyGraph marker=8 
     383                ModifyGraph grid=2 
     384                ModifyGraph mirror=2 
     385                ErrorBars/T=0 BoxCounts Y,wave=(BoxCount_err,BoxCount_err) 
     386                Label left "Counts (per 10^8 monitor counts)" 
     387                Label bottom "Run Number" 
     388        endif 
    386389        return(0) 
    387390End 
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/NCNR_DataReadWrite.ipf

    r940 r947  
    13671367        endif 
    13681368        str = "["+str+"]" 
     1369         
     1370        if(strlen(str) < 11)            //pad to 11 characters if the account number is only one digit 
     1371                str = PadString(str,11,0x20) 
     1372        endif 
     1373                 
    13691374        WriteTextToHeader(fname,str,78) 
    13701375        return(0) 
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/NCNR_Utils_HDF5.ipf

    r946 r947  
    22#pragma version=5.0 
    33#pragma IgorVersion=6.1 
     4 
     5// 
     6// *** modified JUNL2014 to work with HDF5 raw data files. 
     7//    when finally implemented, be sure to compare with NCNR_Utils.ipf 
     8//    to pick up any changes there, especially those related to CGB 
     9// 
     10// 
     11// 
     12// 
    413 
    514// this file contains globals and functions that are specific to a 
Note: See TracChangeset for help on using the changeset viewer.