ProfileAmpsExpert.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/ProfileAmpsExpert.h
10
11#ifndef __Pulsar_ProfileAmpsExpert_h
12#define __Pulsar_ProfileAmpsExpert_h
13
14#include "Pulsar/ProfileAmps.h"
15
16namespace Pulsar {
17
19
26
28
29 public:
30
31 Expert (ProfileAmps* inst)
32 { instance = inst; }
33
35 static void set_amps_ptr (ProfileAmps* instance, float* amps)
36 { instance->amps = amps; }
37
38 private:
39
41 ProfileAmps* instance;
42
43 };
44
45}
46
47#endif
Provides access to private and protected members of ProfileAmps.
Definition ProfileAmpsExpert.h:27
static void set_amps_ptr(ProfileAmps *instance, float *amps)
Set the amplitudes pointer.
Definition ProfileAmpsExpert.h:35
ProfileAmps(unsigned nbin=0)
Constructor initializes the data array.
Definition ProfileAmps.C:56
Defines the PSRCHIVE library.
Definition CalSource.h:17

Generated using doxygen 1.14.0