diff --git a/src/dysh/fits/sdfitsload.py b/src/dysh/fits/sdfitsload.py index 4f87c51a..cb4f2342 100644 --- a/src/dysh/fits/sdfitsload.py +++ b/src/dysh/fits/sdfitsload.py @@ -491,13 +491,13 @@ def scans(self,bintable): scans: int Number of scans as given by `SCAN` FITS header keyword. ''' - return self.ushow(bintable,'SCAN') + return self.udata(bintable,'SCAN') #self.ushow(bintable,'SCAN') def _summary(self,bintable): j=bintable nrows = self.naxis(j,2) nflds = self._binheader[j]['TFIELDS'] - restfreq = np.unique(self._ptable['RESTFREQ'])/1.0E9 + restfreq = np.unique(self._ptable[j]['RESTFREQ'])/1.0E9 # print("HDU %d" % (j+1)) print("BINTABLE: %d rows x %d cols with %d chans" % (self._nrows[j],nflds,self.nchan(j)))