PowerEstimator.h
1//-*-C++-*-
2/***************************************************************************
3 *
4 * Copyright (C) 2005 by Willem van Straten
5 * Licensed under the Academic Free License version 2.1
6 *
7 ***************************************************************************/
8
9// psrchive/Base/Extensions/Pulsar/PowerEstimator.h
10
11#ifndef __Pulsar_PowerEstimator_h
12#define __Pulsar_PowerEstimator_h
13
14#include "Pulsar/ArchiveExtension.h"
15#include <vector>
16
17namespace Pulsar {
18
21
22 public:
23
25 PowerEstimator (const char* name) : Archive::Extension (name) { }
26
28 virtual void get_power (unsigned isub, unsigned ipol,
29 std::vector<float>& on,
30 std::vector<float>& off) const = 0;
31
32 };
33
34}
35
36#endif
Definition ArchiveExtension.h:24
Extension(const char *name)
Construct with a name.
Definition Archive.C:137
The primary interface to pulsar observational data.
Definition Archive.h:46
virtual void get_power(unsigned isub, unsigned ipol, std::vector< float > &on, std::vector< float > &off) const =0
Return the estimated power spectrum.
PowerEstimator(const char *name)
Default constructor.
Definition PowerEstimator.h:25
Defines the PSRCHIVE library.
Definition CalSource.h:17

Generated using doxygen 1.14.0