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_NexusFromIgor.ipf

    r1023 r1062  
    21682168                                data    = root:Packages:NIST:VSANS:VCALC:Middle:det_MT 
    21692169                                nx_distance     = VCALC_getSDD("MT") 
    2170                                 sdd_offset = VCALC_getTopBottomSDDOffset("MT") 
     2170                                sdd_offset = VCALC_getTopBottomSDDSetback("MT") 
    21712171                                separation = VCALC_getPanelSeparation("MT") 
    21722172                                spatial_calibration[0][] = 1.072 
     
    21762176                                data    = root:Packages:NIST:VSANS:VCALC:Middle:det_MB 
    21772177                                nx_distance     = VCALC_getSDD("MB") 
    2178                                 sdd_offset = VCALC_getTopBottomSDDOffset("MB") 
     2178                                sdd_offset = VCALC_getTopBottomSDDSetback("MB") 
    21792179                                separation = VCALC_getPanelSeparation("MB")  
    21802180                                spatial_calibration[0][] = 1.072 
     
    21982198                                data    = root:Packages:NIST:VSANS:VCALC:Front:det_FT 
    21992199                                nx_distance     = VCALC_getSDD("FT") 
    2200                                 sdd_offset = VCALC_getTopBottomSDDOffset("FT") 
     2200                                sdd_offset = VCALC_getTopBottomSDDSetback("FT") 
    22012201                                separation = VCALC_getPanelSeparation("FT") 
    22022202                                spatial_calibration[0][] = 1.072 
     
    22062206                                data    = root:Packages:NIST:VSANS:VCALC:Front:det_FB 
    22072207                                nx_distance     = VCALC_getSDD("FB") 
    2208                                 sdd_offset = VCALC_getTopBottomSDDOffset("FB") 
     2208                                sdd_offset = VCALC_getTopBottomSDDSetback("FB") 
    22092209                                separation = VCALC_getPanelSeparation("FB") 
    22102210                                spatial_calibration[0][] = 1.072 
Note: See TracChangeset for help on using the changeset viewer.