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

    r1039 r1040  
    291291Function V_InitFakeProtocols() 
    292292         
    293         //*****as of 0901, protocols are 8 points long, [6] is used for work.drk, [7] is unused  
     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  
    294294        NewDataFolder/O root:Packages:NIST:VSANS:Globals:Protocols 
    295         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,",""} 
    296         Make/O/T $"root:Packages:NIST:VSANS:Globals:Protocols:DoAll"={"ask","ask","ask","ask","ask","AVTYPE=Circular;SAVE=Yes;NAME=Manual;PLOT=Yes","DRK=none,DRKMODE=0,",""} 
    297         Make/O/T/N=8 $"root:Packages:NIST:VSANS:Globals:Protocols:CreateNew"                    //null wave 
     295        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,","","","","",""} 
     296        Make/O/T $"root:Packages:NIST:VSANS:Globals:Protocols:DoAll"={"ask","ask","ask","ask","ask","AVTYPE=Circular;SAVE=Yes;NAME=Manual;PLOT=Yes","DRK=none,DRKMODE=0,","","","","",""} 
     297        Make/O/T/N=(kNumProtocolSteps) $"root:Packages:NIST:VSANS:Globals:Protocols:CreateNew"                  //null wave 
    298298        //Initialize waves to store values in 
    299299         
    300300        String/G root:Packages:NIST:VSANS:Globals:Protocols:gProtoStr="" 
    301301        String/G root:Packages:NIST:VSANS:Globals:Protocols:gNewStr="" 
    302         String/G root:Packages:NIST:VSANS:Globals:Protocols:gAvgInfoStr = "AVTYPE=Circular;SAVE=Yes;NAME=Auto;PLOT=Yes;" 
     302        String/G root:Packages:NIST:VSANS:Globals:Protocols:gAvgInfoStr = "AVTYPE=Circular;SAVE=Yes;NAME=Auto;PLOT=Yes;BINTYPE=One;" 
    303303         
    304304        String/G root:Packages:NIST:VSANS:Globals:Protocols:gBegPtsStr="" 
Note: See TracChangeset for help on using the changeset viewer.