- Timestamp:
- 01/21/05 12:30:33 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/scantable.py
r226 r241 181 181 mask: an optional mask specifying where the statistic 182 182 should be determined. 183 all: optional flag to show all (default or .asaprc) or a184 cursor selected spectrum of Beam/IF/Pol183 all: if true show all (default or .asaprc) rather 184 that the cursor selected spectrum of Beam/IF/Pol 185 185 186 186 Example: … … 208 208 self.setpol(k) 209 209 if self.npol() > 1: out += ' Pol[%d] ' % (k) 210 statval = _stats(self,mask,stat )210 statval = _stats(self,mask,stat,l) 211 211 tmp.append(statval) 212 out += '= %3.3f\n' % (statval[ l])212 out += '= %3.3f\n' % (statval[0]) 213 213 out += "--------------------------------------------------\n" 214 214 if self._vb: … … 223 223 j = self.getif() 224 224 k = self.getpol() 225 statval = _stats(self,mask,stat )225 statval = _stats(self,mask,stat,-1) 226 226 out = '' 227 227 for l in range(self.nrow()):
Note:
See TracChangeset
for help on using the changeset viewer.