Changeset 1409
- Timestamp:
- 01/31/08 15:08:38 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/asapfitter.py
r1391 r1409 245 245 246 246 def set_gauss_parameters(self, peak, centre, fwhm, 247 peakfixed=0, cent erfixed=0,247 peakfixed=0, centrefixed=0, 248 248 fwhmfixed=0, 249 249 component=0): … … 253 253 peak, centre, fwhm: The gaussian parameters 254 254 peakfixed, 255 cent erfixed,255 centrefixed, 256 256 fwhmfixed: Optional parameters to indicate if 257 257 the paramters should be held fixed during … … 270 270 if 0 <= component < len(self.components): 271 271 d = {'params':[peak, centre, fwhm], 272 'fixed':[peakfixed, cent erfixed, fwhmfixed]}272 'fixed':[peakfixed, centrefixed, fwhmfixed]} 273 273 self.set_parameters(d, component) 274 274 else:
Note:
See TracChangeset
for help on using the changeset viewer.