PSR
CHIVE
Ask a Question
Search
PSR
CHIVE:
powered by
FreeFind
Home
Install
Use
Develop
Support
News
Credits
hosted by
More
General
Pulsar
PeakEdgesInterpreter.h
1
//-*-C++-*-
2
/***************************************************************************
3
*
4
* Copyright (C) 2007 by Willem van Straten
5
* Licensed under the Academic Free License version 2.1
6
*
7
***************************************************************************/
8
9
// psrchive/More/General/Pulsar/PeakEdgesInterpreter.h
10
11
#ifndef __Pulsar_PeakEdgesInterpreter_h
12
#define __Pulsar_PeakEdgesInterpreter_h
13
14
#include "CommandParser.h"
15
#include "Functor.h"
16
17
namespace
Pulsar
{
18
19
class
PhaseWeight;
20
class
Profile;
21
22
class
PeakEdgesInterpreter :
public
CommandParser
{
23
24
public
:
25
27
PeakEdgesInterpreter ();
28
30
std::string cumulative (
const
std::string& args);
31
33
std::string consecutive (
const
std::string& args);
34
36
std::string empty ();
37
38
protected
:
39
40
Functor< std::pair<int,int>
(
const
Profile*) > cumulative_functor;
41
Functor< std::pair<int,int>
(
const
Profile*) > consecutive_functor;
42
43
};
44
45
}
46
47
#endif
CommandParser
Error
Functor
Error::get_message
const std::string get_message() const
Pulsar
Defines the PSRCHIVE library.
Definition:
CalSource.h:17
Generated using
doxygen
1.8.17