CompareWithEachOther.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2021 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // psrchive/More/General/Pulsar/CompareWithEachOther.h
10 
11 #ifndef __CompareWithEachOther_h
12 #define __CompareWithEachOther_h
13 
14 #include "Pulsar/CompareWith.h"
15 
16 class UnaryStatistic;
17 
18 namespace Pulsar {
19 
21 
27  {
29  ndArray<2,double> temp;
30 
33 
35  std::vector<double> rms;
36 
38  void compute (unsigned iprimary, ndArray<2,double>& result);
39 
40  public:
41 
43 
46  };
47 }
48 
49 #endif
Loops over two dimensions of an Archive, comparing profiles.
Definition: CompareWith.h:28
static UnaryStatistic * factory(const std::string &name)
const ScalarMath sqrt(const ScalarMath &x)
Defines the PSRCHIVE library.
Definition: CalSource.h:17
void set_summary(UnaryStatistic *)
Used to summarize comparisons.
Definition: CompareWithEachOther.C:22
Summarizes a comparison of each Profile with every other Profile.
Definition: CompareWithEachOther.h:26

Generated using doxygen 1.8.17