Ignore:
Timestamp:
Apr 6, 2018 3:02:01 PM (5 years ago)
Author:
srkline
Message:

corrected issues with transmission calculation where the popup menu of sample files was limited in number. this limitation has been removed.

fixed the re-calculation of transmission when the same value is to be patched to multiple sample files with the same group ID. now the transmission is calculated once, for the first file in the popup and the values are simply written to the remaining files.

when the box for the open beam is defined, the panel where it is located is written to the file in a new field under /reduction. it is later recalled in the transmission panel.

Defined a "Reference" beam center position for each carriage as the RIGHT panel center. then all other panel centers (L, T, B) can be derived from this value. if the beam center is measured on the Left panel, it is converted to "right" coordinates before reporting.

File:
1 edited

Legend:

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

    r1083 r1094  
    881881        // FB 
    882882        newXCtr_cm[3] = xFR - (2.02 + 2.06)/2 
    883         newYCtr_cm[3] = yFR - (0.12 + 0.19)/2 
     883        newYCtr_cm[3] = yFR - (0.12 + 0.19)/2           // (-) is correct here 
    884884        // FT (duplicate FB) 
    885885        newXCtr_cm[2] = newXCtr_cm[3] 
     
    901901         
    902902        // dummy value for B 
    903         newXCtr_cm[8] = 50 
    904         newYCtr_cm[8] = 50 
     903        newXCtr_cm[8] = 340 
     904        newYCtr_cm[8] = 828 
    905905 
    906906                 
Note: See TracChangeset for help on using the changeset viewer.