Ignore:
Timestamp:
06/11/12 12:50:34 (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...

More speed-up of almacal: skip unecessary data copy.


File:
1 edited

Legend:

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

    r2366 r2556  
    935935    from asap._asap import stmath
    936936    stm = stmath()
    937     ssub = scantab.get_scan( scannos )
    938     scal = scantable( stm.almacal( ssub, calmode ) )
     937    selection=selector()
     938    selection.set_scans(scannos)
     939    orig = scantab.get_selection()
     940    scantab.set_selection(orig+selection)
     941##     ssub = scantab.get_scan( scannos )
     942##     scal = scantable( stm.almacal( ssub, calmode ) )
     943    scal = scantable( stm.almacal( scantab, calmode ) )
     944    scantab.set_selection(orig)
    939945    return scal
    940946
Note: See TracChangeset for help on using the changeset viewer.