Changeset be43e39 in sasmodels for sasmodels/sasview_model.py


Ignore:
Timestamp:
Oct 19, 2018 5:49:12 PM (6 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
31fc4ad
Parents:
e44432d (diff), 353e899 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into beta_approx

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/sasview_model.py

    re44432d rbe43e39  
    383383            hidden.add('background') 
    384384            self._model_info.parameters.defaults['background'] = 0. 
     385 
     386        # Update the parameter lists to exclude any hidden parameters 
     387        self.magnetic_params = tuple(pname for pname in self.magnetic_params 
     388                                     if pname not in hidden) 
     389        self.orientation_params = tuple(pname for pname in self.orientation_params 
     390                                        if pname not in hidden) 
    385391 
    386392        self._persistency_dict = {} 
     
    905911    Model = _make_standard_model('sphere') 
    906912    model = Model() 
    907     model.setParam('M0:sld', 8) 
     913    model.setParam('sld_M0', 8) 
    908914    q = np.linspace(-0.35, 0.35, 500) 
    909915    qx, qy = np.meshgrid(q, q) 
Note: See TracChangeset for help on using the changeset viewer.