File: stokesimager.h

package info (click to toggle)
aoflagger 2.13.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,232 kB
  • sloc: cpp: 61,805; python: 60; sh: 23; makefile: 8
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