11#ifndef __Pulsar_StrategySet_h
12#define __Pulsar_StrategySet_h
14#include "Pulsar/ProfileStrategies.h"
24 mutable Reference::To<ProfileStats> stats;
33 static Configuration::Parameter< Reference::To<ProfileWeightFunction> >&
34 get_default_baseline();
38 static Configuration::Parameter< Reference::To<ProfileWeightFunction> >&
39 get_default_onpulse();
43 static Configuration::Parameter< Reference::To<SNRatioEstimator> >&
44 get_default_snratio();
50 StrategySet (
const StrategySet&);
56 StrategySet*
clone ()
const;
59 ProfileWeightFunction*
baseline ()
const;
60 void set_baseline (ProfileWeightFunction*);
63 ProfileWeightFunction*
onpulse ()
const;
64 void set_onpulse (ProfileWeightFunction*);
67 SNRatioEstimator*
snratio ()
const;
68 void set_snratio (SNRatioEstimator*);
71 WidthEstimator*
width ()
const;
72 void set_width (WidthEstimator*);
75 ProfileStats* get_stats ()
const;
76 void set_stats (ProfileStats*);
Computes pulse profile statistics.
Definition ProfileStats.h:32
Manages the strategies that implement algorithms.
Definition ProfileStrategies.h:22
virtual ProfileWeightFunction * onpulse() const =0
The implementation of the on-pulse finding algorithm.
virtual WidthEstimator * width() const =0
The implementation of the pulse width estimator.
virtual Strategies * clone() const =0
Clone.
virtual SNRatioEstimator * snratio() const =0
The implementation of the signal-to-noise ratio calculation.
virtual ProfileWeightFunction * baseline() const =0
The implementation of the baseline finding algorithm.
static size_t get_instance_count()
Defines the PSRCHIVE library.
Definition CalSource.h:17