Changeset 4cbaf35 in sasview for sansmodels/src/sans/models/BinaryHSModel.py
- Timestamp:
- Jan 7, 2010 3:00:43 PM (14 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:
- c451be9
- Parents:
- 4d270706
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/src/sans/models/BinaryHSModel.py
rfe9c19b4 r4cbaf35 36 36 vol_frac_ls = 0.1 37 37 vol_frac_ss = 0.2 38 ls_sld = 3.5e-006 [1/A^(2)] 39 ss_sld = 5e-007 [1/A^(2)] 40 solvent_sld = 6.36e-006 [1/A^(2)] 41 background = 0.001 [1/cm] 38 42 39 43 """ … … 64 68 self.details['vol_frac_ls'] = ['', None, None] 65 69 self.details['vol_frac_ss'] = ['', None, None] 70 self.details['ls_sld'] = ['[1/A^(2)]', None, None] 71 self.details['ss_sld'] = ['[1/A^(2)]', None, None] 72 self.details['solvent_sld'] = ['[1/A^(2)]', None, None] 73 self.details['background'] = ['[1/cm]', None, None] 66 74 67 75 ## fittable parameters … … 77 85 def __getstate__(self): 78 86 """ return object state for pickling and copying """ 79 print "__dict__",self.__dict__80 #self.__dict__['params'] = self.params81 #self.__dict__['dispersion'] = self.dispersion82 #self.__dict__['log'] = self.log83 87 model_state = {'params': self.params, 'dispersion': self.dispersion, 'log': self.log} 84 88
Note: See TracChangeset
for help on using the changeset viewer.