Ignore:
Timestamp:
May 19, 2017 2:13:33 PM (6 years ago)
Author:
srkline
Message:

Added procedures to increase the number of elements in a reduction protocol, to allow the trimming points to be added directly to the protocol.

The protocol can also now be written directly to the reduction block of the data file. This can serve as a record of what was used, and also for multiple reduction.

Although the protocol is not a NICE -generated block in the HDF file, there does not appear to be any issues with writing out this new wave to the data set, as long as I handle the error if I try to read it (since i't not there to begin with).

Protocol panel is now aware of this change, and the multiple reduce panel has been updated and added to the Inlcudes list.

File:
1 edited

Legend:

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

    r1034 r1040  
    23672367end 
    23682368 
     2369// this is a NON NICE entered field 
     2370// so I need to catch the error if it's not there 
     2371Function/WAVE V_getReductionProtocolWave(fname) 
     2372        String fname 
     2373         
     2374        String path = "entry:reduction:protocol"         
     2375        WAVE/T/Z tw = V_getTextWaveFromHDF5(fname,path) 
     2376         
     2377        if(waveExists(tw)) 
     2378                return tw 
     2379        else 
     2380                Make/O/T/N=0 nullTextWave 
     2381                return nullTextWave 
     2382        endif 
     2383         
     2384end 
    23692385         
    23702386 
Note: See TracChangeset for help on using the changeset viewer.