Ignore:
Timestamp:
Jun 14, 2018 12:18:24 PM (4 years ago)
Author:
srkline
Message:

Added functions to check that files in a protocol, including the sample data are all from the same configuration. In SANS, the only flag was a beam center mismatch. In VSANS, a more complete check of the configuration in necessary.

Changed all instances of calls to the read and normalize the monitor count to use the "norm"al monitor, not the value listed in the Control block.

File:
1 edited

Legend:

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

    r1101 r1106  
    736736                Variable monCount,savedMonCount 
    737737                defmon=1e8                      //default monitor counts 
    738                 monCount = V_getMonitorCount(fname)                     // TODO -- this is read in since VCALC fakes this on output 
    739 //              monCount = V_getBeamMonNormData(fname)          // TODO -- I think this is the *real* one to read 
     738//              monCount = V_getControlMonitorCount(fname)                      // TODO -- this is read in since VCALC fakes this on output 
     739                monCount = V_getBeamMonNormData(fname)          // TODO -- I think this is the *real* one to read 
    740740                savedMonCount   = monCount 
    741741                scale = defMon/monCount         // scale factor to MULTIPLY data by to rescale to defmon 
Note: See TracChangeset for help on using the changeset viewer.