Changeset 1031
- Timestamp:
- 04/26/06 10:43:17 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/asapfitter.py
r1017 r1031 180 180 fixed = None 181 181 params = None 182 182 183 183 if len(args) and isinstance(args[0],dict): 184 184 kwargs = args[0] … … 305 305 if rcParams['verbose']: 306 306 print fpars 307 return {'params':cpars, 'fixed':cfixed }307 return {'params':cpars, 'fixed':cfixed, 'formatted': fpars} 308 308 309 309 def _format_pars(self, pars, fixed, area): … … 457 457 if isinstance(components,int): cs = [components] 458 458 if plotparms: 459 self._p.text(0.15,0.15,str(self.get_parameters()[ 2]),size=8)459 self._p.text(0.15,0.15,str(self.get_parameters()['formatted']),size=8) 460 460 n = len(self.components) 461 461 self._p.palette(3) … … 506 506 asaplog.push("Fitting:") 507 507 for r in rows: 508 out = " Scan[%d] Beam[%d] IF[%d] Pol[%d] Cycle[%d]" % 508 out = " Scan[%d] Beam[%d] IF[%d] Pol[%d] Cycle[%d]" % (scan.getscan(r),scan.getbeam(r),scan.getif(r),scan.getpol(r), scan.getcycle(r)) 509 509 asaplog.push(out, False) 510 510 self.x = scan._getabcissa(r)
Note:
See TracChangeset
for help on using the changeset viewer.