Ignore:
Timestamp:
Feb 10, 2016 3:19:54 PM (7 years ago)
Author:
srkline
Message:

more additions to start the work file flow of converting RAW folder to a WORK folder. Raw_to_Work will be the function that sequentially applies the corrections. All corrections can be turned on/off with preferences.

File:
1 edited

Legend:

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

    r970 r979  
    27402740        Make/O/D/N=1 wTmpWrite 
    27412741//      Make/O/R/N=1 wTmpWrite 
    2742         String groupName = "/entry/instrument/beam_monitor_norm"         
     2742        String groupName = "/entry/instrument/beam_stop"         
    27432743        String varName = "distance_to_detector" 
    27442744        wTmpWrite[0] = val 
     
    29132913End 
    29142914 
    2915 //                      converging_slits (data folder) 
    2916 Function V_writeConvSlitStatus(fname,str) 
    2917         String fname,str 
    2918  
    2919 //      String path = "entry:instrument:converging_slits:status" 
    2920  
    2921         Make/O/T/N=1 tmpTW 
    2922         String groupName = "/entry/instrument/converging_slits" //       
    2923         String varName = "status" 
    2924         tmpTW[0] = str // 
    2925  
    2926         variable err 
    2927         err = V_WriteTextWaveToHDF(fname, groupName, varName, tmpTW) 
    2928         if(err) 
    2929                 Print "HDF write err = ",err 
    2930         endif 
    2931          
    2932         // now be sure to kill the data folder to force a re-read of the data next time this file is read in 
    2933         err = V_KillNamedDataFolder(fname) 
    2934         if(err) 
    2935                 Print "DataFolder kill err = ",err 
    2936         endif 
    2937                  
    2938         return(err) 
    2939 End 
     2915//                      converging_slits (not used) 
     2916 
    29402917 
    29412918 
Note: See TracChangeset for help on using the changeset viewer.