Ignore:
Timestamp:
Jul 14, 2017 3:14:20 PM (5 years ago)
Author:
srkline
Message:

a few quick bug fixes

File:
1 edited

Legend:

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

    r1050 r1053  
    530530//End 
    531531 
    532 //// this is equivalent to "status" - if anything is dropped in the beam 
    533 //Function V_getAtten_number(fname) 
    534 //      String fname 
    535 //       
    536 //      String path = "entry:instrument:attenuator:num_atten_dropped"    
    537 //      return(V_getRealValueFromHDF5(fname,path)) 
    538 //end 
     532//// this is the "number" of attenuators dropped in the beam - and should be  
     533// what I can use to lookup the actual attenuator transmission 
     534Function V_getAtten_number(fname) 
     535        String fname 
     536         
     537        String path = "entry:instrument:attenuator:num_atten_dropped"    
     538        return(V_getRealValueFromHDF5(fname,path)) 
     539end 
    539540 
    540541// thickness of the attenuator (PMMA) - units?? 
Note: See TracChangeset for help on using the changeset viewer.