Changeset 1ed3834 in sasview for sansmodels/src/sans/models/LorentzModel.py
- Timestamp:
- Apr 16, 2009 2:37:39 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:
- fca9cbd9
- Parents:
- 3fef0a8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/src/sans/models/LorentzModel.py
r0824909 r1ed3834 29 29 ## Name of the model 30 30 self.name = "Lorentz" 31 self.description="Lorentz (Ornstein-Zernicke) model.\n\ 32 F(x) = scale/( 1 + (x*L)^2 ) + bkd \nThe model has three parameters:\n \ 31 self.description="""Lorentz (Ornstein-Zernicke) model. 32 F(x) = scale/( 1 + (x*L)^2 ) + bkd 33 34 The model has three parameters: 33 35 L = screen Length\n\ 34 36 scale = scale factor\n\ 35 bkd = incoherent background" 37 bkd = incoherent background""" 36 38 ## Define parameters 37 39 self.params = {} … … 42 44 ## Parameter details [units, min, max] 43 45 self.details = {} 44 self.details['length'] = ['[ Å]', None, None]46 self.details['length'] = ['[A]', None, None] 45 47 self.details['scale'] = ['', None, None] 46 48 self.details['background'] = ['[1/cm]', None, None]
Note: See TracChangeset
for help on using the changeset viewer.