Changeset a7684e5 in sasmodels for sasmodels/sasview_model.py


Ignore:
Timestamp:
Aug 26, 2014 7:07:44 AM (10 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:
ff7119b
Parents:
13d86bc
Message:

docu updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/sasview_model.py

    r32c160a ra7684e5  
    88    model =  opencl_model(kernel_module, dtype=dtype) 
    99    def __init__(self, multfactor=1): 
    10         SasviewModel.__init__(self, self.kernel) 
    11     attrs = dict(__init__=__init__, kernel=model) 
     10        SasviewModel.__init__(self, model) 
     11    attrs = dict(__init__=__init__) 
    1212    ConstructedModel = type(model.info['name'],  (SasviewModel,), attrs) 
    13     #class ConstructedModel(SasviewModel): 
    14     #    kernel = model 
    15     #    def __init__(self, multfactor=1): 
    16     #        SasviewModel.__init__(self, self.kernel) 
    17     #ConstructedModel.__name__ = model.info['name'] 
    1813    return ConstructedModel 
    1914 
Note: See TracChangeset for help on using the changeset viewer.