Ignore:
Timestamp:
Jun 8, 2017 1:27:07 PM (5 years ago)
Author:
srkline
Message:

Significant changes to the base READ of individual data fields from data files. Now, if the field requested is from a WORK file, and it does not exist, an error condition is returned (or a null wave). Calling procedures are responsible for handling errors. This prevents a string of open file dialogs if fields are missing from a file if they were never in the file to begin with (like sensor logs, polarization hardware, etc.)

New get/write calls were added for the updated temperature sensor fields.

group_ID is now only in the sample block, not the duplicated in the reduction block, and is correctly a number not a string.

File:
1 edited

Legend:

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

    r1035 r1044  
    691691//    but this is a lousy choice. 
    692692// x- binning is now Mask-aware. If mask is not present, all data is used. If data is from VCALC, all data is used 
    693 // -- Where do I put the solid angle correction? In here as a weight for each point, or later on as  
    694 //    a blanket correction (matrix multiply) for an entire panel? 
     693// x- Where do I put the solid angle correction? In here as a weight for each point, or later on as  
     694//    a blanket correction (matrix multiply) for an entire panel? (Solid Angle correction is done in the 
     695//    step where data is added to a WORK file (see Raw_to_Work()) 
    695696// 
    696697// 
     
    12141215// just like in CircSectAve.ipf 
    12151216// TODO: 
    1216 // -- 2D Errors were NOT properly acculumated above, so this loop of calculations is NOT MEANINGFUL (yet) 
     1217// -- 2D Errors were NOT properly acculumated through reduction, so this loop of calculations is NOT MEANINGFUL (yet) 
    12171218// x- the error on the 1D intensity, is correctly calculated as the standard error of the mean. 
    12181219        for(ii=0;ii<nq;ii+=1) 
     
    12811282        while(val>0) 
    12821283         
     1284        // TODO: 
     1285        // -- is this where I do the resolution calculation? 
     1286        // -- or do I do it as a separate call? 
     1287        // -- use the isVCALC flag to exclude VCALC from the resolution calculation if necessary 
     1288        // 
     1289         
     1290         
     1291         
    12831292        SetDataFolder root: 
    12841293         
Note: See TracChangeset for help on using the changeset viewer.