Ignore:
Timestamp:
May 20, 2016 4:28:56 PM (7 years ago)
Author:
srkline
Message:

changes to a few analysis models to make these Igor 7-ready

adding mask editing utilities

many changes to event mode for easier processing of split lists

updated event mode help file

+ lots more!

File:
1 edited

Legend:

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

    r994 r999  
    13851385End 
    13861386 
    1387 Function V_getDet_distance(fname,detStr) 
     1387Function V_getDet_NominalDistance(fname,detStr) 
    13881388        String fname,detStr 
    13891389 
    13901390        String path = "entry:instrument:detector_"+detStr+":distance" 
    13911391        return(V_getRealValueFromHDF5(fname,path)) 
     1392End 
     1393 
     1394//this is a DERIVED distance, since the nominal sdd is for the carriage (=LR panels) 
     1395Function V_getDet_ActualDistance(fname,detStr) 
     1396        String fname,detStr 
     1397 
     1398        Variable sdd 
     1399        sdd = V_getDet_NominalDistance(fname,detStr)            //[cm] 
     1400        sdd += V_getDet_TBSetback(fname,detStr)/10              // written in [mm], convert to [cm], returns 0 for L/R/B panels 
     1401                 
     1402        return(sdd) 
    13921403End 
    13931404 
     
    14261437End 
    14271438 
    1428 // TODO - be sure this is defined correctly 
     1439// TODO - be sure this is defined correctly (with correct units!) 
    14291440// -- only returns for T/B detectors 
    14301441Function V_getDet_TBSetback(fname,detStr) 
Note: See TracChangeset for help on using the changeset viewer.