Ignore:
Timestamp:
May 18, 2018 10:32:22 AM (5 years ago)
Author:
srkline
Message:

Significant restructuring of V_ExecuteProtocol to make the logic of the flow more tractable and adaptable in the future.

Added major change to VSANS event mode reduction panel to allow F and M binned events to be saved to a copy of the correspondng data file. A new data reduction panel for multiple slice reduction is now presented for Event data. This allows reduction of a single slice (all 8 F,M panels, back ignored), or all of the slices.

File:
1 edited

Legend:

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

    r1095 r1100  
    678678end 
    679679 
     680// fname is a local WORK folder 
     681Function V_putCount_time(fname,val) 
     682        String fname 
     683        Variable val 
     684 
     685//root:Packages:NIST:VSANS:RAW:entry:instrument:detector_FB:beam_center_x 
     686        String path = "root:Packages:NIST:VSANS:"+fname+":" 
     687        path += "entry:control:count_time" 
     688         
     689        Wave/Z w = $path 
     690        if(waveExists(w) == 0) 
     691                return(1) 
     692        else 
     693        w[0] = val 
     694                return(0) 
     695        endif 
     696 
     697End 
    680698 
    681699Function V_writeCount_time_preset(fname,val) 
     
    31233141End 
    31243142 
     3143// fname is a local WORK folder 
     3144Function V_putBeamMonNormData(fname,val) 
     3145        String fname 
     3146        Variable val 
     3147 
     3148        String path = "root:Packages:NIST:VSANS:"+fname+":" 
     3149        path += "entry:instrument:beam_monitor_norm:data" 
     3150         
     3151        Wave/Z w = $path 
     3152        if(waveExists(w) == 0) 
     3153                return(1) 
     3154        else 
     3155        w[0] = val 
     3156                return(0) 
     3157        endif 
     3158 
     3159End 
     3160 
     3161 
    31253162Function V_writeBeamMonNormDistance(fname,val) 
    31263163        String fname 
     
    57875824        return(err) 
    57885825End 
     5826 
     5827// fname is a local WORK folder 
     5828Function V_putSampleDescription(fname,str) 
     5829        String fname,str 
     5830 
     5831        String path = "root:Packages:NIST:VSANS:"+fname+":" 
     5832        path += "entry:sample:description" 
     5833         
     5834        Wave/Z/T w = $path 
     5835        if(waveExists(w) == 0) 
     5836                return(1) 
     5837        else 
     5838        w[0] = str 
     5839                return(0) 
     5840        endif 
     5841 
     5842End 
     5843 
     5844 
    57895845 
    57905846// for a z-stage?? 
Note: See TracChangeset for help on using the changeset viewer.