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_Initialize.ipf

    r1040 r1044  
    138138        //check platform, so Angstrom can be drawn correctly 
    139139 
    140         //TODO  - this is different on Igor 7. Macintosh # has been updated, but Windows has not 
     140        //TODO  -- this is different on Igor 7. Macintosh # has been updated, but Windows has not 
    141141        // use Print char2num("à
    142142") to find the magic number 
     
    154154        endif 
    155155         
    156         // TODO -- find the SANS preferences, copy over and update for VSANS 
    157         // -- these are all in PlotUtilsMacro_v40.ipf as the preferences are set up as common 
     156        // TODO x- find the SANS preferences, copy over and update for VSANS 
     157        // x- these are all in PlotUtilsMacro_v40.ipf as the preferences are set up as common 
    158158        // to all packages. I'm not sure that I want to do this with VSANS, but make the packages 
    159159        // separate entities. I'm seeing little benefit of the crossover, especially now that  
     
    279279 
    280280// TODO 
    281 // do I need to make the protocols any longer for VSANS? 
     281// do I need to make the protocols any longer for VSANS? (yes -- now 12 points) 
    282282// What other options for processing / averaging / saving are needed?? 
    283283// - TODO 
    284 // -- likely that I'll want to have #pts to cut from I(q) as input to NSORT within the protocol so that the  
     284// x- likely that I'll want to have #pts to cut from I(q) as input to NSORT within the protocol so that the  
    285285// entire reduction can be automatic 
    286286// 
     
    289289// -- all protocols are kept in the root:Packages:NIST:VSANS:Globals:Protocols folder, created here 
    290290// 
     291// 
     292//*****as of 05_2017, protocols are 12 points long, [6] is used for work.drk, [7,8] are for trimmig points, and [9,11] are currently unused  
     293// 
    291294Function V_InitFakeProtocols() 
    292295         
    293         //*****as of 05_2017, protocols are 12 points long, [6] is used for work.drk, [7,8] are for trimmig points, and [9,11] are currently unused  
    294296        NewDataFolder/O root:Packages:NIST:VSANS:Globals:Protocols 
    295297        Make/O/T $"root:Packages:NIST:VSANS:Globals:Protocols:Base"={"none","none","ask","ask","none","AVTYPE=Circular;SAVE=Yes;NAME=Manual;PLOT=Yes","DRK=none,DRKMODE=0,","","","","",""} 
Note: See TracChangeset for help on using the changeset viewer.