Ignore:
Timestamp:
12/26/04 21:57:09 (19 years ago)
Author:
kil064
Message:

Correct spelling 'abscissa' -> 'abcissa'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/asapfitter.py

    r123 r158  
    3131    def set_data(self, xdat, ydat, mask=None):
    3232        """
    33         Set the abscissa and ordinate for the fit. Also set the mask
     33        Set the absissa and ordinate for the fit. Also set the mask
    3434        indicationg valid points.
    3535        This can be used for data vectors retrieved from a scantable.
    3636        For scantable fitting use 'fitter.set_scan(scan, mask)'.
    3737        Parameters:
    38             xdat:    the abscissa values
     38            xdat:    the abcissa values
    3939            ydat:    the ordinate values
    4040            mask:    an optional mask
     
    110110        else:
    111111            if self.data is not None:
    112                 self.x = self.data.getabscissa()
     112                self.x = self.data.getabcissa()
    113113                self.y = self.data.getspectrum()
    114114                print "Fitting:"
     
    229229        self._p.clear()
    230230        tlab = 'Spectrum'
    231         xlab = 'Abscissa'
     231        xlab = 'Abcissa'
    232232        if self.data:
    233233            tlab = self.data._getsourcename(0)
    234             xlab = self.data.getabscissalabel(0)
     234            xlab = self.data.getabcissalabel(0)
    235235        ylab = r'Flux'
    236236        m = self.data.getmask(0)
     
    268268                for k in range(scan.npol()):
    269269                    scan.setpol(k)
    270                     self.x = scan.getabscissa()
     270                    self.x = scan.getabcissa()
    271271                    self.y = scan.getspectrum()
    272272                    self.data = None
Note: See TracChangeset for help on using the changeset viewer.