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 
16 namespace Pulsar {
17 
19 
27  class ProfileAmps::Expert {
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
static void set_amps_ptr(ProfileAmps *instance, float *amps)
Set the amplitudes pointer.
Definition: ProfileAmpsExpert.h:45
ProfileAmps(unsigned nbin=0)
Constructor initializes the data array.
Definition: ProfileAmps.C:56
Provides protected access to the Profile amplitudes array.
Definition: ProfileAmps.h:28
Defines the PSRCHIVE library.
Definition: CalSource.h:17

Generated using doxygen 1.8.17