Changeset 3af84b3 in sasview for DataLoader


Ignore:
Timestamp:
Mar 1, 2009 10:20:44 PM (16 years ago)
Author:
Jae Cho <jhjcho@…>
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
d4bfe61c
Parents:
add37d0
Message:

fixed ½ center offset for all average

File:
1 edited

Legend:

Unmodified
Added
Removed
  • DataLoader/manipulations.py

    r8d36420 r3af84b3  
    105105        err_y = numpy.zeros(nbins) 
    106106        y_counts = numpy.zeros(nbins) 
    107                                                  
     107 
    108108        for i in range(numpy.size(data2D.data,1)): 
    109109            # Min and max x-value for the pixel 
     
    905905        #Beam center is already corrected, but the calculation below assumed it was not. 
    906906        # Thus Beam center shifted back to uncorrected value. ToDo: cleanup this codes. 
    907         center_x=center_x+0.5  
    908         center_y=center_y+0.5          
     907        #center_x=center_x+0.5  
     908        #center_y=center_y+0.5          
    909909        for i in range(numpy.size(data,1)): 
    910910            dx = pixel_width_x*(i+0.5 - center_x) 
Note: See TracChangeset for help on using the changeset viewer.