Changeset 4cc8e14b in sasview


Ignore:
Timestamp:
Mar 2, 2009 12:38:01 PM (15 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:
89d79d4
Parents:
6285a79
Message:

fixed bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • DataLoader/readers/IgorReader.py

    r1acbf0a r4cc8e14b  
    187187                # Det 640 x 640 mm 
    188188                # Q = 4pi/lambda sin(theta/2) 
    189                 # Bin size is 0.5 cm 
    190                 theta = (i_x-center_x+1)*0.5 / distance / 100.0 
     189                # Bin size is 0.5 cm  
     190                #REmoved +1 from theta = (i_x-center_x+1)*0.5 / distance / 100.0 and  
     191                #REmoved +1 from theta = (i_y-center_y+1)*0.5 / distance / 100.0 
     192                #ToDo: Need  complete check if the following covert process is consistent with fitting.py. 
     193                theta = (i_x-center_x)*0.5 / distance / 100.0 
    191194                qx = 4.0*math.pi/wavelength * math.sin(theta/2.0) 
    192195 
     
    199202                    xmax = qx 
    200203                 
    201                 theta = (i_y-center_y+1)*0.5 / distance / 100.0 
     204                theta = (i_y-center_y)*0.5 / distance / 100.0 
    202205                qy = 4.0*math.pi/wavelength * math.sin(theta/2.0) 
    203206 
Note: See TracChangeset for help on using the changeset viewer.