File: stokesimager.h

package info (click to toggle)
aoflagger 3.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 4,476 kB
  • sloc: cpp: 51,868; python: 152; sh: 25; makefile: 17
file content (22 lines) | stat: -rw-r--r-- 783 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef STOKESIMAGER_H
#define STOKESIMAGER_H

#include "image2d.h"

class StokesImager{
	public:
		static Image2DPtr CreateSum(Image2DCPtr left, Image2DCPtr right);
		static Image2DPtr CreateDifference(Image2DCPtr left, Image2DCPtr right);
		static Image2DPtr CreateNegatedSum(Image2DCPtr left, Image2DCPtr right);

		static Image2DPtr CreateStokesIAmplitude(Image2DCPtr realXX, Image2DCPtr imaginaryXX, Image2DCPtr realYY, Image2DCPtr imaginaryYY);
		static Image2DPtr CreateStokesI(Image2DCPtr xx, Image2DCPtr yy) { return CreateSum(xx, yy); }
		static Image2DPtr CreateStokesQ(Image2DCPtr xx, Image2DCPtr yy) { return CreateDifference(xx, yy); }

		static Image2DPtr CreateAvgPhase(Image2DCPtr xx, Image2DCPtr yy);
	private:
		StokesImager() { }
		~StokesImager() { }
};

#endif