Last change
on this file since 925 was 904, checked in by mar637, 19 years ago |
Polarimetry handling and conversion
|
File size:
1.0 KB
|
Rev | Line | |
---|
[904] | 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 |
|
---|
| 18 | namespace asap {
|
---|
| 19 |
|
---|
| 20 | /**
|
---|
| 21 | The linear representation of polarisation
|
---|
| 22 |
|
---|
| 23 | @author Malte Marquarding
|
---|
| 24 | */
|
---|
| 25 | class STPolLinear : public STPol
|
---|
| 26 | {
|
---|
| 27 | public:
|
---|
| 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.