Changeset ee3b2c0c in sasview for DataLoader
- Timestamp:
- Mar 1, 2009 10:53:19 PM (16 years ago)
- 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:
- 54905de
- Parents:
- d4bfe61c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
DataLoader/manipulations.py
r3af84b3 ree3b2c0c 105 105 err_y = numpy.zeros(nbins) 106 106 y_counts = numpy.zeros(nbins) 107 107 108 108 for i in range(numpy.size(data2D.data,1)): 109 109 # Min and max x-value for the pixel … … 905 905 #Beam center is already corrected, but the calculation below assumed it was not. 906 906 # Thus Beam center shifted back to uncorrected value. ToDo: cleanup this codes. 907 #center_x=center_x+0.5908 #center_y=center_y+0.5907 center_x=center_x+0.5 908 center_y=center_y+0.5 909 909 for i in range(numpy.size(data,1)): 910 910 dx = pixel_width_x*(i+0.5 - center_x)
Note: See TracChangeset
for help on using the changeset viewer.