PhaseResolvedHistogram.h
1//-*-C++-*-
2/***************************************************************************
3 *
4 * Copyright (C) 2016 by Willem van Straten
5 * Licensed under the Academic Free License version 2.1
6 *
7 ***************************************************************************/
8
9// psrchive/Base/Classes/Pulsar/PhaseResolvedHistogram.h
10
11#ifndef __Pulsar_PhaseResolvedHistogram_h
12#define __Pulsar_PhaseResolvedHistogram_h
13
14#include "Pulsar/MoreProfiles.h"
15
16namespace Pulsar
17{
20 {
22 double min, max;
23
24 public:
25
27 PhaseResolvedHistogram (const char* name = "PhaseResolvedHistogram");
28
31
33 void average (const MoreProfiles*);
34
36 void set_range (double min, double max);
37
39 virtual Profile* at (double value);
40
41 };
42
43}
44
45#endif
MoreProfiles(const char *name)
Construct with a name.
Definition MoreProfiles.C:12
virtual Profile * at(double value)
get the Profile that corresponds to the specified value
Definition PhaseResolvedHistogram.C:39
void average(const MoreProfiles *)
average information from another MoreProfiles
Definition PhaseResolvedHistogram.C:23
PhaseResolvedHistogram(const char *name="PhaseResolvedHistogram")
Construct with a name.
Definition PhaseResolvedHistogram.C:11
PhaseResolvedHistogram * clone() const
Clone operator.
Definition PhaseResolvedHistogram.C:17
void set_range(double min, double max)
Set the minimum and maximum values spanned by the histogram.
Definition PhaseResolvedHistogram.C:32
Any quantity recorded as a function of pulse phase.
Definition Profile.h:40
Defines the PSRCHIVE library.
Definition CalSource.h:17

Generated using doxygen 1.14.0