Ignore:
Timestamp:
Jan 14, 2020 2:15:48 PM (3 years ago)
Author:
srkline
Message:

Changed the calculation of solid angle to properly reflect the tube geometry. This mode is now the (correct) default calculation. A global switch can be applied for testing to use the old method (with many warning alerts).

File:
1 edited

Legend:

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

    r1234 r1235  
    275275        Variable/G root:Packages:NIST:VSANS:Globals:isDemoVersion = V_isDemo() 
    276276 
     277 
     278// for testing 
     279// if this is set to 1, the OLD (incorrect) cos^3 solid angle will be applied to the tubes 
     280// and a lot of alerts will pop up... 
     281        Variable/G root:Packages:NIST:VSANS:Globals:gDo_OLD_SolidAngleCor = 0 
    277282         
    278283        //set XML globals 
Note: See TracChangeset for help on using the changeset viewer.