Changeset 1130


Ignore:
Timestamp:
Feb 27, 2019 3:51:37 PM (4 years ago)
Author:
srkline
Message:

more bug fixes for the VCALC functionality

Location:
sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS
Files:
2 edited

Legend:

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

    r1129 r1130  
    200200         
    201201        SetVariable VCALCCtrl_2d,pos={205,260-50},size={230,15},title="Gate Valve to Detector Distance (cm)",proc=VC_FDet_SDD_SetVarProc 
    202         SetVariable VCALCCtrl_2d,limits={100,800,1},disable=1   ,value=_NUM:150 
     202        SetVariable VCALCCtrl_2d,limits={70,800,1},disable=1    ,value=_NUM:150 
    203203         
    204204 
     
    215215 
    216216        SetVariable VCALCCtrl_3d,pos={205,260-50},size={230,15},title="Gate Valve to Detector Distance (cm)",proc=VC_MDet_SDD_SetVarProc 
    217         SetVariable VCALCCtrl_3d,limits={800,2000,1},disable=1,value=_NUM:1000 
     217        SetVariable VCALCCtrl_3d,limits={250,2000,1},disable=1,value=_NUM:1000 
    218218 
    219219         
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/V_Instrument_Resolution.ipf

    r1128 r1130  
    311311         
    312312        BS *= 0.5*0.1                   //nominal BS diameter passed in, convert to radius and [cm] 
    313         // 21 MAR 07 SRK - use the projected BS diameter, based on a point sample aperture 
    314         Variable LB 
    315         LB = 20.1 + 1.61*BS                     //distance in cm from beamstop to anode plane (empirical) 
    316         BS = bs + bs*lb/(l2-lb)         //adjusted diameter of shadow from parallax 
     313 
     314// TODO -- this empirical correction is for the geometry of the SANS beamstop location and the  
     315//   Ordela detector construction. For now on VSANS, don't correct for the projection. 
     316//      // 21 MAR 07 SRK - use the projected BS diameter, based on a point sample aperture 
     317//      Variable LB 
     318//      LB = 20.1 + 1.61*BS                     //distance in cm from beamstop to anode plane (empirical) 
     319//      BS = bs + bs*lb/(l2-lb)         //adjusted diameter of shadow from parallax 
    317320         
    318321        //Start resolution calculation 
Note: See TracChangeset for help on using the changeset viewer.