- Timestamp:
- 07/28/06 14:23:01 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/asapfitter.py
r1088 r1092 435 435 """ 436 436 if not self.fitted: 437 print "Not yet fitted."438 437 msg = "Not yet fitted." 439 438 if rcParams['verbose']: … … 453 452 scan._setspectrum(self.fitter.getresidual()) 454 453 print_log() 454 return scan 455 455 456 456 def plot(self, residual=False, components=None, plotparms=False, filename=None): … … 522 522 y = ma.MA.MaskedArray(self.fitter.get_fit(), 523 523 mask=logical_not(array(m,copy=0)), 524 copy=0) 524 copy=0) 525 525 self._p.plot(self.x, y) 526 526 else: … … 529 529 y = ma.MA.MaskedArray(self.fitter.get_fit(), 530 530 mask=logical_not(array(m,copy=0)), 531 copy=0) 531 copy=0) 532 532 self._p.plot(self.x, y) 533 533 xlim=[min(self.x),max(self.x)]
Note:
See TracChangeset
for help on using the changeset viewer.