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

    r1043 r1044  
    23882388 
    23892389 
     2390// 
     2391// TODO: 
     2392// -- do I calculate the proper resolution here? I've already decoded the binning type 
     2393//   and the averaging type has been specified by the protocol 
     2394// -- if I calculate the resolution here, then the Trimming routines must be updated 
     2395//    to trim the resolution waves also. This positioning may work for  
     2396//    pinhole resolution, but anything using the matrix method - it won't work - and I'll need  
     2397//    a different solution 
     2398// 
    23902399        strswitch(av_type)      //dispatch to the proper routine to average to 1D data 
    23912400                case "none":             
     
    24082417                        break 
    24092418                case "Circular": 
    2410 //                      CircularAverageTo1D(activeType) 
    2411                         V_QBinAllPanels(activeType,binType)             // this does a default circular average 
     2419 
     2420                        V_QBinAllPanels_Circular(activeType,binType)            // this does a default circular average 
    24122421                        break 
    24132422                case "Sector": 
Note: See TracChangeset for help on using the changeset viewer.