Changeset 722
- Timestamp:
- 11/18/05 14:43:15 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/asapfit.py
r529 r722 3 3 4 4 class asapfit(sdfit): 5 6 def __init__(self, other): 5 6 def __init__(self, other): 7 7 sdfit.__init__(self,other) 8 8 … … 26 26 pos += comps[k] 27 27 ps = pars[s:pos] 28 out += "\n Parameters: " 28 out += "\n Parameters: " 29 29 out += self._format_pars(pars[s:pos],f, finfo[0]) 30 30 out += "\n Fixed Parms: " … … 59 59 return out 60 60 61 61 62 62 def _format_pars(self, pars, ftype, unit): 63 63 out = '' … … 68 68 i+=1 69 69 out = out[1:-1] 70 elif ftype == 'gauss': 70 elif ftype == 'gauss': 71 71 out += 'peak = %3.3f , centre = %3.3f %s, FWHM = %3.3f %s' % (pars[0],pars[1],unit,pars[2],unit) 72 72
Note:
See TracChangeset
for help on using the changeset viewer.