source: branches/Release2.0/src/STPolStokes.h@ 2109

Last change on this file since 2109 was 910, checked in by mar637, 19 years ago

Stokes polarimetry handling and conversion

File size: 1.0 KB
Line 
1//
2// C++ Interface: STPolStokes
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 ASAPSTPOLSTOKES_H
13#define ASAPSTPOLSTOKES_H
14
15#include "Factory.h"
16#include "STPol.h"
17
18namespace asap {
19
20/**
21The stokes representation of polarisation
22
23@author Malte Marquarding
24*/
25class STPolStokes : public STPol
26{
27public:
28 STPolStokes() {}
29
30 STPolStokes(const casa::Matrix<casa::Float>& specs)
31 { setSpectra(specs); }
32
33 ~STPolStokes();
34
35 static Factory<STPol,STPolStokes> 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 //virtual void invertPhase( casa::Float phase );
48
49};
50
51}
52
53#endif
Note: See TracBrowser for help on using the repository browser.