Changeset 2599
- Timestamp:
- 07/12/12 14:29:48 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/scantable.py
r2591 r2599 1753 1753 else: 1754 1754 # allow the 'old' mode of setting mulitple IFs 1755 sel = selector()1756 1755 savesel = self._getselection() 1756 sel = self.get_selection() 1757 1757 iflist = self.getifnos() 1758 1758 if len(freqs)>len(iflist): … … 1775 1775 self._setrestfreqs(values, names, unit) 1776 1776 elif isinstance(freqs[-1], list) or isinstance(freqs[-1], tuple): 1777 sel = selector()1778 1777 savesel = self._getselection() 1778 sel = self.get_selection() 1779 1779 iflist = self.getifnos() 1780 1780 if len(freqs)>len(iflist): … … 1788 1788 # freqs are to be taken from a linecatalog 1789 1789 elif isinstance(freqs, linecatalog): 1790 sel = selector()1791 1790 savesel = self._getselection() 1791 sel = self.get_selection() 1792 1792 for i in xrange(freqs.nrow()): 1793 1793 sel.set_ifs(iflist[i])
Note:
See TracChangeset
for help on using the changeset viewer.