11#ifndef __ArchiveComparisons_h
12#define __ArchiveComparisons_h
14#include "Pulsar/ArchiveStatistic.h"
15#include "Pulsar/ScrunchFactor.h"
26 class ArchiveComparisons :
public Identifiable::Proxy<ArchiveStatistic>
31 ArchiveComparisons (BinaryStatistic*);
33 void set_Archive (
const Archive*);
39 TextInterface::Parser* get_interface ();
41 ArchiveComparisons* clone ()
const;
43 const std::string& get_what ()
const {
return what; }
44 void set_what (
const std::string& t) { what = t; }
46 const std::string& get_way ()
const {
return way; }
47 void set_way (
const std::string& t) { way = t; }
50 void set_compute_subint (
const std::vector<bool>& flags)
51 { compute_subint = flags; }
54 void set_compute_chan (
const std::vector<bool>& flags)
55 { compute_chan = flags; }
58 void set_bscrunch (
const ScrunchFactor& f);
61 const ScrunchFactor get_bscrunch ()
const {
return bscrunch_factor; }
64 void set_setup_Archive (
const Archive*);
73 Reference::To<CompareWith> compare;
76 Reference::To<BinaryStatistic> stat;
79 ndArray<2,double> result;
82 std::vector<bool> compute_subint;
85 std::vector<bool> compute_chan;
88 ScrunchFactor bscrunch_factor;
98 void build_compare ();
99 void init_compare (
const Archive* arch);
Loops over two dimensions of an Archive, comparing profiles.
Definition CompareWith.h:29
Defines the PSRCHIVE library.
Definition CalSource.h:17