Changeset 2580 for trunk/python
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/hpc33 (added) merged: 2432,2443,2449,2458-2460,2464,2470,2473,2502,2519,2523-2524,2532-2534,2536-2537,2539-2540,2542-2553,2556-2557,2559-2572
- Property svn:mergeinfo changed
-
trunk/python
- Property svn:mergeinfo changed
/branches/hpc33/python (added) merged: 2459,2556,2565
- Property svn:mergeinfo changed
-
trunk/python/asapmath.py
r2574 r2580 915 915 stm = stmath() 916 916 antname = scantab.get_antennaname() 917 ssub = scantab.get_scan( scannos ) 918 scal = scantable( stm.cwcal( ssub, calmode, antname ) ) 917 selection=selector() 918 selection.set_scans(scannos) 919 orig = scantab.get_selection() 920 scantab.set_selection(orig+selection) 921 ## ssub = scantab.get_scan( scannos ) 922 ## scal = scantable( stm.cwcal( ssub, calmode, antname ) ) 923 scal = scantable( stm.cwcal( scantab, calmode, antname ) ) 924 scantab.set_selection(orig) 919 925 return scal 920 926 … … 932 938 from asap._asap import stmath 933 939 stm = stmath() 934 ssub = scantab.get_scan( scannos ) 935 scal = scantable( stm.almacal( ssub, calmode ) ) 940 selection=selector() 941 selection.set_scans(scannos) 942 orig = scantab.get_selection() 943 scantab.set_selection(orig+selection) 944 ## ssub = scantab.get_scan( scannos ) 945 ## scal = scantable( stm.almacal( ssub, calmode ) ) 946 scal = scantable( stm.almacal( scantab, calmode ) ) 947 scantab.set_selection(orig) 936 948 return scal 937 949
Note:
See TracChangeset
for help on using the changeset viewer.