Ignore:
Timestamp:
Jul 20, 2017 3:22:34 PM (5 years ago)
Author:
srkline
Message:

LOTS of changes to accommodate the beam center being reported in cm rather than pixels. Required a lot of changes to VCALC (to fill in simulated data), and in the reading and interpreting of data for display, and most importantly, the calculation of q.

There may still be a few residual bugs with this. I am still re-testing with new sample data sets.

File:
1 edited

Legend:

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

    r1043 r1055  
    639639        for(ii=0;ii<ItemsInList(ksDetectorListNoB);ii+=1) 
    640640                detStr = StringFromList(ii, ksDetectorListNoB, ";") 
    641                 xCtr = V_getDet_beam_center_x(fname,detStr) 
    642                 yCtr = V_getDet_beam_center_y(fname,detStr) 
     641                xCtr = V_getDet_beam_center_x_pix(fname,detStr) 
     642                yCtr = V_getDet_beam_center_y_pix(fname,detStr) 
    643643                V_RescaleToBeamCenter(type,detStr,xCtr,yCtr) 
    644644        endfor 
     
    701701                detStr = StringFromList(ii, ksDetectorListAll, ";") 
    702702                panelW[ii] = detStr 
    703                 xCtr_pix[ii] = V_getDet_beam_center_x(fname,detStr) 
    704                 yCtr_pix[ii] = V_getDet_beam_center_y(fname,detStr) 
     703                xCtr_pix[ii] = V_getDet_beam_center_x_pix(fname,detStr) 
     704                yCtr_pix[ii] = V_getDet_beam_center_y_pix(fname,detStr) 
    705705                // TODO 
    706706                // and now the mm values 
Note: See TracChangeset for help on using the changeset viewer.