VariableProjectionCorrection.h
1//-*-C++-*-
2/***************************************************************************
3 *
4 * Copyright (C) 2019 by Willem van Straten
5 * Licensed under the Academic Free License version 2.1
6 *
7 ***************************************************************************/
8
9#ifndef __Pulsar_VariableProjectionCorrection_h
10#define __Pulsar_VariableProjectionCorrection_h
11
12#include "Pulsar/KnownVariableTransformation.h"
13#include "Pulsar/ProjectionCorrection.h"
14
15namespace Pulsar {
16
19 {
20 mutable ProjectionCorrection correction;
21 mutable LabelledJones<double> feed_projection;
22 mutable LabelledJones<double> antenna_projection;
23 mutable LabelledJones<double> transformation;
24
25 void build () const;
26
27 public:
28
30 ProjectionCorrection* get_correction () { return &correction; }
31
34
37
40
42 bool required () const override;
43
45 std::string get_description () const override;
46 };
47}
48
49#endif
Manager of variable transformations.
Definition KnownVariableTransformation.h:37
A Jones matrix with a label.
Definition KnownVariableTransformation.h:21
Computes the projection of the receptors onto the sky.
Definition ProjectionCorrection.h:48
Adapts a KnonwnVariableTransformation to a ProjectionCorrection.
Definition VariableProjectionCorrection.h:19
bool required() const override
Return true if the transformation is required.
Definition VariableProjectionCorrection.C:44
std::string get_description() const override
Return the description.
Definition VariableProjectionCorrection.C:52
LabelledJones< double > get_value() override
Get the transformation.
Definition VariableProjectionCorrection.C:36
LabelledJones< double > get_antenna_projection()
Get the antenna projection.
Definition VariableProjectionCorrection.C:27
ProjectionCorrection * get_correction()
Get the projection correction.
Definition VariableProjectionCorrection.h:30
LabelledJones< double > get_feed_projection()
Get the feed rotation.
Definition VariableProjectionCorrection.C:18
Defines the PSRCHIVE library.
Definition CalSource.h:17

Generated using doxygen 1.14.0