Changeset 2565 for branches/hpc33/python


Ignore:
Timestamp:
06/12/12 19:23:39 (12 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: No

Ready for Test: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No

Module(s): Module Names change impacts.

Description: Describe your changes here...

Rewote asapmath.apexcal based on asapmath.almacal


File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/hpc33/python/asapmath.py

    r2556 r2565  
    918918    stm = stmath()
    919919    antname = scantab.get_antennaname()
    920     ssub = scantab.get_scan( scannos )
    921     scal = scantable( stm.cwcal( ssub, calmode, antname ) )
     920    selection=selector()
     921    selection.set_scans(scannos)
     922    orig = scantab.get_selection()
     923    scantab.set_selection(orig+selection)
     924##     ssub = scantab.get_scan( scannos )
     925##     scal = scantable( stm.cwcal( ssub, calmode, antname ) )
     926    scal = scantable( stm.cwcal( scantab, calmode, antname ) )
     927    scantab.set_selection(orig)
    922928    return scal
    923929
Note: See TracChangeset for help on using the changeset viewer.