Changeset 0d99a6a in sasmodels


Ignore:
Timestamp:
Apr 8, 2016 3:52:54 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:
e62a134
Parents:
7edce22
Message:

doc strings for modelinfo

Location:
sasmodels
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/modelinfo.py

    r7edce22 r0d99a6a  
     1""" 
     2Model Info and Parameter Tables 
     3=============================== 
     4 
     5Defines :class:`ModelInfo` and :class:`ParameterTable` and the routines for 
     6manipulating them.  In particular, :func:`make_model_info` converts a kernel 
     7module into the model info block as seen by the rest of the sasmodels library. 
     8""" 
    19from copy import copy 
    210from os.path import abspath, basename, splitext 
     
    506514 
    507515    def user_parameters(self, pars={}, is2d=True): 
    508         # type: (Dict[str, float], bool) -> List[str] 
     516        # type: (Dict[str, float], bool) -> List[Parameter] 
    509517        """ 
    510518        Return the list of parameters for the given data type. 
  • sasmodels/sasview_model.py

    r4bfd277 r0d99a6a  
    6464    """ 
    6565    kernel_module = generate.load_kernel_module(name) 
    66     model_info = modelinfo.make_model_info(kernel_module) 
     66    #model_info = modelinfo.make_model_info(kernel_module) 
     67    model_info = modelinfo.make_model_info("hello") 
    6768    return _make_model_from_info(model_info) 
    6869 
Note: See TracChangeset for help on using the changeset viewer.