CompareWithSum.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/CompareWithSum.h
10 
11 #ifndef __CompareWithSum_h
12 #define __CompareWithSum_h
13 
14 #include "Pulsar/CompareWith.h"
15 
16 namespace Pulsar {
17 
19 
23  class CompareWithSum : public CompareWith
24  {
25  void setup (unsigned start_primary, unsigned nprimary);
26 
28  void compute (unsigned iprimary, ndArray<2,double>& result);
29  };
30 }
31 
32 #endif
virtual void setup(unsigned start_primary, unsigned nprimary=1)
Perform an eigenanalysis and set up the generalized chi squared.
Definition: CompareWith.C:626
Defines the PSRCHIVE library.
Definition: CalSource.h:17

Generated using doxygen 1.8.17