Ignore:
Timestamp:
Sep 5, 2017 12:29:29 PM (5 years ago)
Author:
srkline
Message:

proper handling of setback, intent, and purpose. New value of setback is included, and proper definition of how purpose and intent are defined within NICE and the GUI are partly completed now. Searches still need to be updated.

File:
1 edited

Legend:

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

    r1061 r1063  
    15541554        Variable sdd 
    15551555        sdd = V_getDet_NominalDistance(fname,detStr)            //[cm] 
    1556         sdd += V_getDet_TBSetback(fname,detStr)/10              // written in [mm], convert to [cm], returns 0 for L/R/B panels 
     1556        sdd += V_getDet_TBSetback(fname,detStr)         // written [cm], returns 0 for L/R/B panels 
    15571557                 
    15581558        return(sdd) 
     
    16191619End 
    16201620 
    1621 // TODO - be sure this is defined correctly (with correct units!) 
     1621// TODO -DONE be sure this is defined correctly (with correct units-- this is now 41.0 cm) 
    16221622// -- only returns for T/B detectors 
    16231623Function V_getDet_TBSetback(fname,detStr) 
     
    24842484End 
    24852485 
    2486 // this is (presumably) the polarization "intent" 
    2487 Function/S V_getReduction_polSANSPurpose(fname) 
     2486// this is purpose is used for all files, and has different meaning 
     2487// if polarization is used. need the "intent" also to be able to fully decipher what a file 
     2488//  is really being used for. GUI controls this, not me. 
     2489Function/S V_getReduction_purpose(fname) 
    24882490        String fname 
    24892491 
Note: See TracChangeset for help on using the changeset viewer.