Changeset 411d8bf in sasview for sansmodels/src/sans/models/PeakLorentzModel.py
- Timestamp:
- Apr 12, 2012 3:38:37 PM (12 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:
- 92a52ff2
- Parents:
- 2e9c3ea
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/src/sans/models/PeakLorentzModel.py
r27fea3f r411d8bf 31 31 ## Name of the model 32 32 self.name = "Peak Lorentz Model" 33 self.description =""" F(q) = scale/(1+[(q-q0)/B]^2 ) + background33 self.description = """ F(q) = scale/(1+[(q-q0)/B]^2 ) + background 34 34 35 35 The model has three parameters: … … 52 52 self.details['background'] = ['[1/cm]', None, None] 53 53 #list of parameter that cannot be fitted 54 self.fixed = []54 self.fixed = [] 55 55 56 56 def _PeakLorentz(self, x):
Note: See TracChangeset
for help on using the changeset viewer.