Changeset 1701 for branches/alma/python/scantable.py
- Timestamp:
- 02/16/10 16:29:35 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/alma/python/scantable.py
r1685 r1701 862 862 self._add_history("flag_row", varlist) 863 863 864 def clip(self, uthres=None, dthres=None, clipoutside=True, unflag=False): 865 """ 866 Flag the selected data outside a specified range (in channel-base) 867 Parameters: 868 uthres: upper threshold. 869 dthres: lower threshold 870 clipoutside: True for flagging data outside the range [dthres:uthres]. 871 False for glagging data inside the range. 872 unflag : if True, unflag the data. 873 """ 874 varlist = vars() 875 try: 876 self._clip(uthres, dthres, clipoutside, unflag) 877 except RuntimeError, msg: 878 if rcParams['verbose']: 879 print_log() 880 asaplog.push(str(msg)) 881 print_log('ERROR') 882 return 883 else: raise 884 self._add_history("clip", varlist) 864 885 865 886 def lag_flag(self, frequency, width=0.0, unit="GHz", insitu=None):
Note: See TracChangeset
for help on using the changeset viewer.