Changeset 4d8e0bb in sasmodels


Ignore:
Timestamp:
May 25, 2016 9:10:13 AM (8 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:
aa343d6, 7887cf4, 399f02e, 9b71c30
Parents:
d5e0592
Message:

fix parameter order for slit smearing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/direct_model.py

    r4d76711 r4d8e0bb  
    7070 
    7171        if self.data_type == 'sesans': 
    72              
    7372            q = sesans.make_q(data.sample.zacceptance, data.Rmax) 
    7473            index = slice(None, None) 
     
    117116                  and getattr(data, 'dxw', None) is not None): 
    118117                res = resolution.Slit1D(data.x[index], 
    119                                         qx_width=data.dxw[index], 
    120                                         qy_width=data.dxl[index]) 
     118                                        qx_width=data.dxl[index], 
     119                                        qy_width=data.dxw[index]) 
    121120            else: 
    122121                res = resolution.Perfect1D(data.x[index]) 
Note: See TracChangeset for help on using the changeset viewer.