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

many changes to the VCALC code and a few changes to the main code to get the units consistent, and centimeters everywhere possible. The real space distance array and the non-linear calibrations are still defined and calculated in mm. This can hopefully be changed in the future. Some constants in the data file will need to be updated to cm, such as the T/B setback, which has been confirmed to be 41.0 cm

File:
1 edited

Legend:

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

    r1023 r1062  
    9797//                              data    = root:Packages:NIST:VSANS:VCALC:Middle:det_MT 
    9898//                              nx_distance     = VCALC_getSDD("MT") 
    99 //                              sdd_offset = VCALC_getTopBottomSDDOffset("MT") 
     99//                              sdd_offset = VCALC_getTopBottomSDDSetback("MT") 
    100100//                              separation = VCALC_getPanelSeparation("MT") 
    101101//                              spatial_calibration[0][] = 1.072 
     
    105105//                              data    = root:Packages:NIST:VSANS:VCALC:Middle:det_MB 
    106106//                              nx_distance     = VCALC_getSDD("MB") 
    107 //                              sdd_offset = VCALC_getTopBottomSDDOffset("MB") 
     107//                              sdd_offset = VCALC_getTopBottomSDDSetback("MB") 
    108108//                              separation = VCALC_getPanelSeparation("MB")  
    109109//                              spatial_calibration[0][] = 1.072 
     
    127127//                              data    = root:Packages:NIST:VSANS:VCALC:Front:det_FT 
    128128//                              nx_distance     = VCALC_getSDD("FT") 
    129 //                              sdd_offset = VCALC_getTopBottomSDDOffset("FT") 
     129//                              sdd_offset = VCALC_getTopBottomSDDSetback("FT") 
    130130//                              separation = VCALC_getPanelSeparation("FT") 
    131131//                              spatial_calibration[0][] = 1.072 
     
    135135//                              data    = root:Packages:NIST:VSANS:VCALC:Front:det_FB 
    136136//                              nx_distance     = VCALC_getSDD("FB") 
    137 //                              sdd_offset = VCALC_getTopBottomSDDOffset("FB") 
     137//                              sdd_offset = VCALC_getTopBottomSDDSetback("FB") 
    138138//                              separation = VCALC_getPanelSeparation("FB") 
    139139//                              spatial_calibration[0][] = 1.072 
Note: See TracChangeset for help on using the changeset viewer.