Changeset 1986 for trunk/python
- Timestamp:
- 02/02/11 13:13:28 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/scantable.py
r1950 r1986 2681 2681 2682 2682 def _check_ifs(self): 2683 nchans = [self.nchan(i) for i in range(self.nif(-1))] 2684 nchans = filter(lambda t: t > 0, nchans) 2683 #nchans = [self.nchan(i) for i in range(self.nif(-1))] 2684 #nchans = filter(lambda t: t > 0, nchans) 2685 nchans = [self.nchan(i) for i in self.getifnos()] 2685 2686 return (sum(nchans)/len(nchans) == nchans[0]) 2686 2687
Note:
See TracChangeset
for help on using the changeset viewer.