Ignore:
Timestamp:
Jul 3, 2018 2:30:41 PM (4 years ago)
Author:
srkline
Message:

Many changes:

Made the VCALC panel aware of all of the binning options
Corrected the behavior of the VCALC preset conditions
Adjusted how the Slit data is binned so that there are not duplicated q-values in the output

Made Absolute scaling aware of the back detector. Now the ABS String in the protocol has a second
set of scaling constants tagged with "_B" for the back detector. There is an added button
on the protocol panel to set the second set of constants. For the back detector, the read noise
is subtracted by reading it from the empty beam file (shifting over to the right by one box width)
All of the associated abs procedures are now aware of this.
More error checking needs to be added.

Back detector image is now shifted upon loading of the data. the default mask takes this into account
and masks out the padded (zero) regions.

in the protocol, DIV and MSK do not use grep any longer. it was just way too slow. Now it depends on

the file name having DIV or MASK respectively.



Raw data files can now be added together, in the usual way from the protocol panel.



File:
1 edited

Legend:

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

    r1108 r1109  
    9595         
    9696        // do the q-binning for each of the panels to get I(Q) 
    97         BinAllFrontPanels() 
    98  
     97//      BinAllFrontPanels() 
     98        String popStr 
     99        String collimationStr = "pinhole" 
     100        ControlInfo/W=VCALC popup_b 
     101        popStr = S_Value                // 
     102        V_QBinAllPanels_Circular("VCALC",V_BinTypeStr2Num(popStr),collimationStr) 
    99103 
    100104        // plot the results 
    101105        String type = "VCALC" 
    102         String str,winStr="VCALC#Panels_IQ",workTypeStr,popStr 
     106        String str,winStr="VCALC#Panels_IQ",workTypeStr 
    103107        workTypeStr = "root:Packages:NIST:VSANS:"+type 
    104108 
     
    627631         
    628632        // do the q-binning for each of the panels to get I(Q) 
    629         BinAllMiddlePanels() 
     633//      BinAllMiddlePanels() 
     634        String popStr 
     635        String collimationStr = "pinhole" 
     636        ControlInfo/W=VCALC popup_b 
     637        popStr = S_Value                // 
     638        V_QBinAllPanels_Circular("VCALC",V_BinTypeStr2Num(popStr),collimationStr) 
    630639 
    631640        // plot the results 
    632641        String type = "VCALC" 
    633         String str,winStr="VCALC#Panels_IQ",workTypeStr,popStr 
     642        String str,winStr="VCALC#Panels_IQ",workTypeStr 
    634643        workTypeStr = "root:Packages:NIST:VSANS:"+type 
    635644 
Note: See TracChangeset for help on using the changeset viewer.