Ignore:
Timestamp:
May 31, 2018 10:12:09 AM (5 years ago)
Author:
srkline
Message:

updated mask drawing procedures to allow draw/erase of different shapes, rather than limited to single tubes.

added USANS_SlitSmearing.ipf back to the includes, removing the VSANS version which was duplicated.

File:
1 edited

Legend:

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

    r1073 r1104  
    261261End 
    262262 
    263 // TODO -- this may not correctly mimic the enumerated type of the file 
    264 //  but I need to fudge this somehow 
    265 // 
    266 // returns null string if the type cannot be deduced, calling procedure is responsible 
    267 //  for properly handling this error condition 
    268 // 
    269 Function/S V_DeduceMonochromatorType(fname) 
    270         String fname 
    271          
    272         String typeStr="" 
    273  
    274         if(cmpstr(V_getVelSelStatus(fname),"IN") == 0) 
    275                 typeStr = "velocity_selector" 
    276         endif 
    277          
    278         if(cmpstr(V_getWhiteBeamStatus(fname),"IN") == 0) 
    279                 typeStr = "white_beam" 
    280         endif 
    281          
    282         if(cmpstr(V_getCrystalStatus(fname),"IN") == 0) 
    283                 typeStr = "crystal" 
    284         endif    
    285          
    286         return(typeStr) 
    287 End 
Note: See TracChangeset for help on using the changeset viewer.