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/V_HDF5_Read.ipf

    r1106 r1109  
    14991499End 
    15001500 
     1501// NOTE - this is not part of the file as written 
     1502// it is generated when the RAW data is loaded (when the error wave is generated) 
     1503Function/WAVE V_getDetectorLinearDataW(fname,detStr) 
     1504        String fname,detStr 
     1505 
     1506        String path = "entry:instrument:detector_"+detStr+":linear_data" 
     1507        WAVE w = V_getRealWaveFromHDF5(fname,path) 
     1508 
     1509        return w 
     1510End 
     1511 
    15011512// 
    15021513// TODO -- this does not exist in the raw data, but does in the processed data 
    15031514// !!! how to handle this?? Binning routines need the error wave 
    15041515// 
     1516Function/WAVE V_getDetectorLinearDataErrW(fname,detStr) 
     1517        String fname,detStr 
     1518 
     1519        String path = "entry:instrument:detector_"+detStr+":linear_data_error" 
     1520        WAVE w = V_getRealWaveFromHDF5(fname,path) 
     1521 
     1522        return w 
     1523End 
     1524 
     1525 
     1526// 
     1527// TODO -- this does not exist in the raw data, but does in the processed data 
     1528// !!! how to handle this?? Binning routines need the error wave 
     1529// 
    15051530Function/WAVE V_getDetectorDataErrW(fname,detStr) 
    15061531        String fname,detStr 
    15071532 
    1508         String path = "entry:instrument:detector_"+detStr+":linear_data_error" 
     1533        String path = "entry:instrument:detector_"+detStr+":data_error" 
    15091534        WAVE w = V_getRealWaveFromHDF5(fname,path) 
    15101535 
Note: See TracChangeset for help on using the changeset viewer.