Extract.h
1//-*-C++-*-
2/***************************************************************************
3 *
4 * Copyright (C) 2014 by Willem van Straten
5 * Licensed under the Academic Free License version 2.1
6 *
7 ***************************************************************************/
8
9// psrchive/More/General/Pulsar/Extract.h
10
11#ifndef __Pulsar_Extract_h
12#define __Pulsar_Extract_h
13
14#include "Pulsar/Transformation.h"
15#include "Pulsar/Profile.h"
16#include <utility>
17
18namespace Pulsar {
19
21 class Extract : public Transformation<Profile>
22 {
23 public:
24
25 typedef std::pair<unsigned,unsigned> Range;
26
27 Extract (const Range&);
28 void transform (Profile*);
29
30 protected:
31 Range range;
32
33 };
34
35}
36
37#endif
void transform(Profile *)
Defined by derived classes.
Definition Extract.C:20
Any quantity recorded as a function of pulse phase.
Definition Profile.h:40
Algorithms that modify data in the Container.
Definition Transformation.h:20
Defines the PSRCHIVE library.
Definition CalSource.h:17

Generated using doxygen 1.14.0