Ignore:
Timestamp:
Nov 22, 2019 10:42:40 AM (3 years ago)
Author:
srkline
Message:

updates to:
how the DIV file is generated. Options for normalization are transparent choices now. Normalizing individually is the correct option to use, others are for testing.

updated what files can be displayed for drawing a mask

updated how the beam stop in place is deciphered

updated which raw data corrections are shown and allowed to be turned on/off on the VSANS preferences.

File:
1 edited

Legend:

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

    r1222 r1227  
    468468 
    469469// returns the beamstop diameter [mm] 
    470 // if there is no beamtop in front of the specified detector, return 0.01mm 
     470// 
     471// checks the field num_beamstops. if this is 0, then there is no beam stop in place 
     472//      if there is no beamtop in front of the specified detector, return 0.01mm 
     473// 
     474// if the number is non-zero, then for the middle carriage, return the BS size, which 
     475//  will always be the diameter, since there are only circular beamstops present. 
     476// 
     477// TODO 
     478//  -- for the back carriage, the numbered beam stops are: 
     479// (1) = 6 mm x 300 mm (RECTANGLE) 
     480// (2) = 12 mm diameter (CIRCLE) 
     481// (3) = 12 mm x 300 mm (RECTANGLE) 
     482// 
     483//              -- currently this returns the diameter of the beam stop for # 2 
     484//    and the width ONLY if #1 or #3 (both are 300 mm high) 
    471485// 
    472486Function V_IdentifyBeamstopDiameter(folderStr,detStr) 
     
    495509                // back (3) 
    496510                num = V_getBeamStopC3num_beamstops(folderStr) 
    497                 if(num) 
     511                if(num==0) 
     512                        return(dummyVal) 
     513                endif 
     514                 
     515                if(num==2) 
     516                        //2 = circular beamstop 
    498517                        BS = V_getBeamStopC3_size(folderStr) 
    499518                else 
    500                         //num = 0, no beamstops on the back 
    501                         return(dummyVal) 
     519                        //1 or 3, these are rectangular -- return the width, since the height of both is 300 mm 
     520                        return(V_getBeamStopC3_width(folderStr)) 
    502521                endif 
    503522        endif    
Note: See TracChangeset for help on using the changeset viewer.