Ignore:
Timestamp:
Apr 29, 2016 5:04:20 PM (6 years ago)
Author:
srkline
Message:

more changes, bug fixes, detector dead time fix

File:
1 edited

Legend:

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

    r994 r995  
    4343                V_writeDetectorData(fileName,detStr,tmpData) 
    4444                 
    45                 val = VCALC_getTopBottomSDDOffset(detStr)/10 + VCALC_getSDD(detStr)*100         // make sure value is in cm 
     45                val = VCALC_getSDD(detStr)*100          // make sure value is in cm 
    4646                print val 
    4747                V_writeDet_distance(fileName,detStr,val) 
     48                 
     49                val = VCALC_getTopBottomSDDOffset(detStr)               //val is in mm, as for data file 
     50                if(val != 0) 
     51                        V_writeDet_TBSetback(fileName,detStr,val) 
     52                endif 
    4853                 
    4954                // x and y pixel sizes for each detector should be correct in the "base" file - but if not... 
     
    5863                 
    5964                 
    60          
    6165                // the calibration data for each detector (except B) is already correct in the "base" file 
    6266                //V_writeDetTube_spatialCalib(fname,detStr,inW) 
Note: See TracChangeset for help on using the changeset viewer.