source: trunk/src/STPolLinear.h @ 904

Last change on this file since 904 was 904, checked in by mar637, 18 years ago

Polarimetry handling and conversion

File size: 1.0 KB
Line 
1//
2// C++ Interface: STPolLinear
3//
4// Description:
5//
6//
7// Author: Malte Marquarding <Malte.Marquarding@csiro.au>, (C) 2006
8//
9// Copyright: See COPYING file that comes with this distribution
10//
11//
12#ifndef ASAPSTPOLLINEAR_H
13#define ASAPSTPOLLINEAR_H
14
15#include "Factory.h"
16#include "STPol.h"
17
18namespace asap {
19
20/**
21The linear representation of polarisation
22
23@author Malte Marquarding
24*/
25class STPolLinear : public STPol
26{
27public:
28  STPolLinear() {}
29
30  STPolLinear(const casa::Matrix<casa::Float>& specs)
31    { setSpectra(specs); }
32
33  ~STPolLinear();
34
35  static Factory<STPol,STPolLinear> myFactory;
36
37  virtual casa::Vector<casa::Float> getCircular( casa::uInt index );
38
39  virtual casa::Vector<casa::Float> getStokes( casa::uInt index);
40
41  virtual casa::Vector<casa::Float> getLinPol( casa::uInt index);
42
43  virtual casa::Vector<casa::Float> getLinear( casa::uInt index );
44
45  virtual void rotatePhase( casa::Float phase );
46  virtual void rotateLinPolPhase( casa::Float phase );
47
48  virtual void invertPhase( casa::Float phase );
49
50};
51
52}
53
54#endif
Note: See TracBrowser for help on using the repository browser.