Changeset c3e4a7fa in sasview for sansmodels
- Timestamp:
- Apr 22, 2009 2:32:05 PM (16 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 6756712
- Parents:
- bb5c1c7
- Location:
- sansmodels/src/sans/models
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/src/sans/models/BaseComponent.py
r25a608f5 rc3e4a7fa 35 35 ## parameters with orientation 36 36 self.orientation_params =[] 37 ## store dispersity reference 38 self._persistency_dict = {} 37 39 38 40 def __str__(self): -
sansmodels/src/sans/models/MultiplicationModel.py
r1f1da702 rc3e4a7fa 232 232 value= None 233 233 try: 234 if parameter in self.model1. getParamList():234 if parameter in self.model1.dispersion.keys(): 235 235 value= self.model1.set_dispersion(parameter, dispersion) 236 elif parameter in self.model2.ParamList(): 236 237 elif parameter in self.model2.dispersion.keys(): 237 238 value= self.model2.set_dispersion(parameter, dispersion) 238 239 return value
Note: See TracChangeset
for help on using the changeset viewer.