Changeset 0145a25 in sasview for sansmodels/src/sans/models
- Timestamp:
- Jun 29, 2011 5:10:42 PM (13 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:
- 6694604
- Parents:
- d5c2f4d
- Location:
- sansmodels/src/sans/models
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/src/sans/models/BaseComponent.py
r35aface r0145a25 41 41 ## store dispersity reference 42 42 self._persistency_dict = {} 43 43 ## independent parameter name and unit [string] 44 self.input_name = "Q" 45 self.input_unit = "A^{-1}" 46 ## output name and unit [string] 47 self.output_name = "Intensity" 48 self.output_unit = "cm^{-1}" 49 44 50 def __str__(self): 45 51 """ -
sansmodels/src/sans/models/ReflectivityIIModel.py
rd6da3b1 r0145a25 55 55 # [str(name of function0),...], [str(x-asix name of sld),...]] 56 56 self.multiplicity_info = [max_nshells,"No. of Layers:",[],['Depth']] 57 57 ## independent parameter name and unit [string] 58 self.input_name = "Q" 59 self.input_unit = "A^{-1}" 60 ## output name and unit [string] 61 self.output_name = "Reflectivity" 62 self.output_unit = "" 63 58 64 59 65 def _clone(self, obj): -
sansmodels/src/sans/models/ReflectivityModel.py
r4b3d25b r0145a25 53 53 # [str(name of function0),...], [str(x-asix name of sld),...]] 54 54 self.multiplicity_info = [max_nshells,"No. of Layers:",[],['Depth']] 55 55 ## independent parameter name and unit [string] 56 self.input_name = "Q" 57 self.input_unit = "A^{-1}" 58 ## output name and unit [string] 59 self.output_name = "Reflectivity" 60 self.output_unit = "" 56 61 57 62 def _clone(self, obj):
Note: See TracChangeset
for help on using the changeset viewer.