Ignore:
Timestamp:
May 1, 2018 8:52:07 AM (5 years ago)
Author:
srkline
Message:

renamed white beam smearing models so they would be grouped together on the file list.

Re-worked the logic and flow of the averaging/plotting/saving steps of the reduction protocol so that it would flow cleanly and leave room for changes for the multitude of different collimation conditions. The averaging routines are now aware of the collimation conditions so that the appropriate resolution can be calculated. The collimation string is also written out to the averaged data file as element[9] of the protocol. The hope is that one could key on this collimation string to decide how to proceed with the analysis.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/V_IQ_Utilities.ipf

    r1097 r1098  
    666666        for(ii=0;ii<num;ii+=1) 
    667667                detStr = StringFromList(ii, detListStr) 
    668                 nBeg = NumberByKey(detStr, nBegStr,"=",";") 
    669                 nEnd = NumberByKey(detStr, nEndStr,"=",";") 
    670                 if(!gIgnoreDetB) 
     668                if(cmpstr(detStr,"B")==0 && gIgnoreDetB) 
     669                                //skip det B, do nothing 
     670                else 
     671                        nBeg = NumberByKey(detStr, nBegStr,"=",";") 
     672                        nEnd = NumberByKey(detStr, nEndStr,"=",";") 
     673 
    671674                        V_TrimOneSet(folderStr,detStr,nBeg,nEnd) 
    672675                endif 
Note: See TracChangeset for help on using the changeset viewer.