Changeset 9404dd3 in sasmodels for sasmodels/sasview_model.py


Ignore:
Timestamp:
Dec 4, 2015 12:41:47 PM (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:
eaca9eb
Parents:
7bb290c
Message:

python 3.x support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/sasview_model.py

    rd138d43 r9404dd3  
    187187               for d in self._model.info['partype']['pd-2d'] 
    188188               for p in ('npts', 'nsigmas', 'width')] 
    189         #print ret 
     189        #print(ret) 
    190190        return ret 
    191191 
     
    303303            values, weights = self._dispersion_mesh() 
    304304            fv = ER(*values) 
    305             #print values[0].shape, weights.shape, fv.shape 
     305            #print(values[0].shape, weights.shape, fv.shape) 
    306306            return np.sum(weights * fv) / np.sum(weights) 
    307307 
Note: See TracChangeset for help on using the changeset viewer.