9 #ifndef __Pulsar_SumThreshold_h
10 #define __Pulsar_SumThreshold_h
12 #include "Pulsar/Algorithm.h"
13 #include "Pulsar/Archive.h"
14 #include "Pulsar/TimeFrequencyMask.h"
22 class SumThreshold : public TimeFrequencyMask
34 std::vector<float> &stat,
35 std::vector<float> &model,
36 unsigned nsubint, unsigned nchan, unsigned npol);
38 void set_nlevel ( int n ) { nlevel = n; }
39 int get_nlevel () const { return nlevel; }
44 Interface (SumThreshold* = 0);
45 std::string get_interface_name () const { return "sumthresh"; }
52 SumThreshold* clone () const { return new SumThreshold(); }
SumThreshold * clone() const Derived types must also define clone method. Definition: SumThreshold.h:62
int nlevel Number of levels. Definition: SumThreshold.h:67
unsigned update_mask(std::vector< float > &mask, std::vector< float > &stat, std::vector< float > &model, unsigned nsubint, unsigned nchan, unsigned npol) Smooth the data given in raw, output to smoothed. Definition: SumThreshold.C:42
Implement the SumThreshold masking algorithm. Definition: SumThreshold.h:27
Defines the PSRCHIVE library. Definition: CalSource.h:17
TextInterface::Parser * get_interface() Return a text interface that can be used to configure this instance. Definition: SumThreshold.C:176
Generated using doxygen 1.8.17
|