Ignore:
Timestamp:
09/16/09 17:11:16 (15 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CAS-1422

Ready to Release: Yes

Interface Changes: Yes

What Interface Changed: Defined calibrate() and almacal() in python/asapmath.py

Defined cwcal() in STMath class

Test Programs: List test programs

Put in Release Notes: Yes

Module(s): task_sdaverage

Description: Describe your changes here...

asapmath.py is changed to be able to calibrate data for APEX.
This modification is tentatively considered a calibration of ALMA
single-dish data. However, it must be updated in the future since
I don't know how raw ALMA data are provided and I have to change
code along with read ALMA data.

The calibrate() function takes calibration mode from its argument and
looks antenna name of the input scantable, and calls appropriate calibration
function depending on the calibration mode and antenna name.
If antenna name include 'APEX' or 'ALMA', newly defined calibration function
apexcal() is called. For other antenna name, one of the existing calibration
functions (calps, calnod, calfs, auto_quotient) is called.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/alma/src/STMathWrapper.h

    r1516 r1633  
    206206  }
    207207
     208  // cwcal
     209  ScantableWrapper cwcal( const ScantableWrapper &in,
     210                          const std::string calmode,
     211                          const std::string antname )
     212  {
     213    casa::CountedPtr<Scantable> tab = in.getCP() ;
     214    casa::String mode( calmode ) ;
     215    casa::String name( antname ) ;
     216    return ScantableWrapper( STMath::cwcal( tab, mode, name ) ) ;
     217  }
    208218};
    209219
Note: See TracChangeset for help on using the changeset viewer.