Changes in / [e39202b:610ef23] in sasmodels
- Location:
- sasmodels
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/modelinfo.py
rbd547d0 r610ef23 1016 1016 for k in range(control+1, p.length+1) 1017 1017 if p.length > 1) 1018 for p in self.parameters.kernel_parameters:1019 if p.length > 1 and p.type == "sld":1020 for k in range(control+1, p.length+1):1021 base = p.id+str(k)1022 hidden.update((base+"_M0", base+"_mtheta", base+"_mphi"))1023 1018 return hidden -
sasmodels/sasview_model.py
rbd547d0 r610ef23 383 383 hidden.add('background') 384 384 self._model_info.parameters.defaults['background'] = 0. 385 386 # Update the parameter lists to exclude any hidden parameters387 self.magnetic_params = tuple(pname for pname in self.magnetic_params388 if pname not in hidden)389 self.orientation_params = tuple(pname for pname in self.orientation_params390 if pname not in hidden)391 385 392 386 self._persistency_dict = {}
Note: See TracChangeset
for help on using the changeset viewer.