Ignore:
Timestamp:
Apr 24, 2018 3:55:39 PM (5 years ago)
Author:
srkline
Message:

added procedures to compare files to see if they are from the same configuration, same wavelength, etc. so they can be properly chosen for transmission files, scattering files, and properly identified for the different resolution conditions.

Re-worked the logic of dispatching averaging, plotting, and saving in Execute_Protocol. Hopefully this will alow for easier dispatching for future conditions, including getting the correct resolution calculation.

File:
1 edited

Legend:

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

    r1081 r1097  
    409409 
    410410// dispatch based on the string, not on the number of selection in the pop string 
    411         V_QBinAllPanels_Circular(type,V_BinTypeStr2Num(popStr)) 
     411        variable binType = V_BinTypeStr2Num(popStr) 
     412        String collimationStr="pinhole"         //TODO: where do I get this information from ? does it matter here? 
     413        if(binType == 4) 
     414        // narrow slits 
     415                V_QBinAllPanels_Slit(type,binType) 
     416        else 
     417                V_QBinAllPanels_Circular(type,binType,collimationStr) 
     418        endif 
     419         
    412420 
    413421        String str,winStr="V_1D_Data",workTypeStr 
Note: See TracChangeset for help on using the changeset viewer.