Changeset 3e6aaad in sasmodels for sasmodels/resolution2d.py


Ignore:
Timestamp:
Aug 31, 2015 11:55:50 PM (9 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
cd8dde1
Parents:
346bc88
Message:

add resolution accuracy setting to compare

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/resolution2d.py

    r346bc88 r3e6aaad  
    9292        nbins = nr * nphi 
    9393        # Number of bins in the dqr direction (polar coordinate of dqx and dqy) 
    94         bin_size = self.nsigma // nr 
     94        bin_size = self.nsigma / nr 
    9595        # in dq_r-direction times # of bins in dq_phi-direction 
    9696        # data length in the range of self.index 
Note: See TracChangeset for help on using the changeset viewer.