MeanFeed.h
1//-*-C++-*-
2/***************************************************************************
3 *
4 * Copyright (C) 2004 by Willem van Straten
5 * Licensed under the Academic Free License version 2.1
6 *
7 ***************************************************************************/
8
9// psrchive/More/Polarimetry/Pulsar/MeanFeed.h
10
11#ifndef __Calibration_MeanFeed_H
12#define __Calibration_MeanFeed_H
13
14#include "MEAL/Mean.h"
15#include "MEAL/Complex2.h"
16
17namespace Calibration {
18
19 class Feed;
20
22 class MeanFeed : public MEAL::Mean<MEAL::Complex2> {
23
24 public:
25
27 void integrate (const MEAL::Complex2* model);
28
30 void update (MEAL::Complex2* model) const;
31
33 double chisq (const MEAL::Complex2* model) const;
34
36 void integrate (const Feed* model);
37
39 void update (Feed* model) const;
40
42 double chisq (const Feed* model) const;
43
44 protected:
45
48
51
52 };
53
54}
55
56#endif
Phenomenological description of the receiver feed.
Definition Feed.h:27
A weighted mean of Feed parameter estimates.
Definition MeanFeed.h:22
void integrate(const MEAL::Complex2 *model)
Add the Model parameters to the running mean.
Definition MeanFeed.C:29
void update(MEAL::Complex2 *model) const
Update the Model parameters with the current mean.
Definition MeanFeed.C:11
MeanRadian< double > mean_ellipticity[2]
Best estimate of receptor ellipticities.
Definition MeanFeed.h:50
MeanRadian< double > mean_orientation[2]
Best estimate of receptor orientations.
Definition MeanFeed.h:47
double chisq(const MEAL::Complex2 *model) const
Return the difference between the mean and the model.
Definition MeanFeed.C:47

Generated using doxygen 1.14.0