Ignore:
Timestamp:
Jul 21, 2017 1:37:44 PM (6 years ago)
Author:
srkline
Message:

added Annular averaging routine. still need writer, and link with protocols.

replaced tic/toc with v_tic/v_toc to avoid missing functions

File:
1 edited

Legend:

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

    r1050 r1056  
    570570        SetDataFolder root:Packages:NIST:VSANS:Event: 
    571571 
    572 s_tic() 
     572v_tic() 
    573573        if(WaveExists($"root:Packages:NIST:VSANS:Event:OscSortIndex") == 0 ) 
    574574                Duplicate/O rescaledTime OscSortIndex 
     
    581581         
    582582printf "sort time = " 
    583 s_toc() 
     583v_toc() 
    584584 
    585585        Wave index = root:Packages:NIST:VSANS:Event:SavedIndex          //this is the histogram index 
    586586 
    587 s_tic() 
     587v_tic() 
    588588        for(ii=0;ii<nslices;ii+=1) 
    589589                if(ii==0) 
     
    620620        endfor 
    621621printf "histogram time = " 
    622 s_toc() 
     622v_toc() 
    623623 
    624624        Duplicate/O slicedData,root:Packages:NIST:VSANS:Event:dispsliceData,root:Packages:NIST:VSANS:Event:logSlicedData 
     
    986986                Redimension/D xLoc,yLoc,timePt   
    987987                 
    988 //s_tic() 
     988//v_tic() 
    989989//      V_SortAndSplitEvents() 
    990990// 
    991991//Printf "File sort and split time (s) = " 
    992 //s_toc() 
     992//v_toc() 
    993993 
    994994// 
     
    12331233        Open/R refnum as filepathstr 
    12341234         
    1235 s_tic() 
     1235v_tic() 
    12361236 
    12371237        FBinRead refnum, gVSANSStr 
     
    12621262 
    12631263Printf "Time to read file (s) = " 
    1264 s_toc()  
     1264v_toc()  
    12651265 
    12661266 
     
    12741274 
    12751275 
    1276 s_tic() 
     1276v_tic() 
    12771277        WAVE V_Events = V_Events 
    12781278        uint64 val,b1,b2,btime 
     
    13091309 
    13101310Printf "File decode time (s) = " 
    1311 s_toc() 
     1311v_toc() 
    13121312 
    13131313//      KillWaves/Z timePt,xLoc,yLoc 
     
    14191419//      NVAR removeBadEvents = root:Packages:NIST:VSANS:Event:gRemoveBadEvents 
    14201420// 
    1421 //s_tic() 
     1421//v_tic() 
    14221422// 
    14231423////    Wave/Z wave0=wave0 
     
    15001500//      dispStr += tmpStr 
    15011501// 
    1502 //      s_toc() 
     1502//      v_toc() 
    15031503//       
    15041504//      Print "Events removed (XOP) = ",numRemoved 
Note: See TracChangeset for help on using the changeset viewer.