ThresholdMatch.h
1//-*-C++-*-
2/***************************************************************************
3 *
4 * Copyright (C) 2006 by Willem van Straten
5 * Licensed under the Academic Free License version 2.1
6 *
7 ***************************************************************************/
8
9// psrchive/Base/Classes/Pulsar/ThresholdMatch.h
10
11#ifndef __Pulsar_ThresholdMatch_h
12#define __Pulsar_ThresholdMatch_h
13
14#include "Pulsar/ArchiveMatch.h"
15
16namespace Pulsar {
17
20
21 public:
22
25
27 void set_maximum_relative_bandwidth (double delta_bw);
28
30 bool get_bandwidth_match (const Archive* a, const Archive* b) const;
31
33 static void set_BPP (Archive*);
34
35 protected:
36
37 double maximum_relative_bandwidth;
38
39 };
40
41}
42
43#endif
Policy used to determine if two archives match.
Definition ArchiveMatch.h:21
The primary interface to pulsar observational data.
Definition Archive.h:46
void set_maximum_relative_bandwidth(double delta_bw)
Set the maximum relative bandwidth by which archives may differ.
Definition ThresholdMatch.C:23
bool get_bandwidth_match(const Archive *a, const Archive *b) const
Return true if the bandwidths match.
Definition ThresholdMatch.C:28
ThresholdMatch()
Default constructor.
Definition ThresholdMatch.C:17
static void set_BPP(Archive *)
Setup for BPP-derived backends.
Definition ThresholdMatch.C:67
Defines the PSRCHIVE library.
Definition CalSource.h:17

Generated using doxygen 1.14.0