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_HDF5_Read.ipf

    r1053 r1055  
    14571457End 
    14581458 
    1459  
     1459//TODO 
     1460// 
     1461// x and y center in pix is currently not part of the Nexus definition 
     1462//  does it need to be? 
     1463// these lookups will fail if they have not been generated locally! 
     1464Function V_getDet_beam_center_x_pix(fname,detStr) 
     1465        String fname,detStr 
     1466 
     1467        String path = "entry:instrument:detector_"+detStr+":beam_center_x_pix" 
     1468        return(V_getRealValueFromHDF5(fname,path)) 
     1469End 
     1470 
     1471//TODO 
     1472// 
     1473// x and y center in pix is currently not part of the Nexus definition 
     1474//  does it need to be? 
     1475// these lookups will fail if they have not been generated locally! 
     1476Function V_getDet_beam_center_y_pix(fname,detStr) 
     1477        String fname,detStr 
     1478 
     1479        String path = "entry:instrument:detector_"+detStr+":beam_center_y_pix" 
     1480        return(V_getRealValueFromHDF5(fname,path)) 
     1481End 
    14601482 
    14611483Function/WAVE V_getDetectorDataW(fname,detStr) 
Note: See TracChangeset for help on using the changeset viewer.