Ignore:
Timestamp:
Jun 8, 2018 2:35:44 PM (4 years ago)
Author:
srkline
Message:

updated mask drawing to draw arbitrary shapes, fixing bugs in the operation.

fix operation of popups in transmission panel.

other bug fixes that I don't recall from the past week.

File:
1 edited

Legend:

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

    r1099 r1105  
    7777        return(WaveExists(w)) 
    7878end 
    79  
    80  
    81 // 
    82 // tests if two values are close enough to each other 
    83 // very useful since ICE came to be 
    84 // 
    85 // tol is an absolute value (since input v1 or v2 may be zero, can't reliably 
    86 // use a percentage 
    87 Function V_CloseEnough(v1,v2,tol) 
    88         Variable v1, v2, tol 
    89  
    90         if(abs(v1-v2) < tol) 
    91                 return(1) 
    92         else 
    93                 return(0) 
    94         endif 
    95 End 
    9679 
    9780 
     
    14441427 
    14451428 
    1446 // match BOTH the intent and purpose 
     1429// match the INTENT and PURPOSE and GROUP_ID 
     1430// 
    14471431// -- needed to identify the SAMPLE + SCATTERING data files. 
    14481432// 
Note: See TracChangeset for help on using the changeset viewer.