source: branches/casa-release-4_3/src/STCalSkyPSAlma.h@ 3089

Last change on this file since 3089 was 2955, checked in by Takeshi Nakazato, 10 years ago

New Development: No

JIRA Issue: Yes CAS-6585, CAS-6571

Ready for Test: Yes

Interface Changes: Yes/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...

Added FLAGTRA column to sky and Tsys caltable.
To support previous versions of caltabls that don't have FLAGTRA
column, the code automatically add FLAGTRA column and initialize
it with initial value (uChar)0 if no FLAGTRA exists.


File size: 1.2 KB
Line 
1//
2// C++ Interface: STCalSkyPSAlma
3//
4// Description:
5//
6//
7// Author: Takeshi Nakazato <takeshi.nakazato@nao.ac.jp>, (C) 2012
8//
9// Copyright: See COPYING file that comes with this distribution
10//
11//
12#ifndef ASAP_CALSKY_PS_ALMA_H
13#define ASAP_CALSKY_PS_ALMA_H
14
15#include <memory>
16
17#include <casa/aips.h>
18#include <casa/Arrays/Vector.h>
19#include <casa/BasicSL/String.h>
20#include <casa/Utilities/CountedPtr.h>
21
22#include <scimath/Mathematics/InterpolateArray1D.h>
23
24#include "RowAccumulator.h"
25#include "Scantable.h"
26#include "STDefs.h"
27#include "STApplyTable.h"
28#include "STCalibration.h"
29#include "STCalSkyTable.h"
30
31namespace asap {
32
33/**
34 * Calibration operations on Scantable objects
35 * @author TakeshiNakazato
36 */
37class STCalSkyPSAlma : public STCalibration {
38public:
39 STCalSkyPSAlma(casa::CountedPtr<Scantable> &s);
40
41 virtual ~STCalSkyPSAlma() {;}
42
43protected:
44 virtual void setupSelector(const STSelector &sel);
45 virtual void appenddata(casa::uInt scanno, casa::uInt cycleno,
46 casa::uInt beamno, casa::uInt ifno, casa::uInt polno,
47 casa::uInt freqid, casa::Double time, casa::Float elevation,
48 const casa::Vector<casa::Float> &any_data,
49 const casa::Vector<casa::uChar> &channel_flag);
50};
51
52}
53#endif
Note: See TracBrowser for help on using the repository browser.