ZapInterpreter.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/ZapInterpreter.h
10
11#ifndef __Pulsar_ZapInterpreter_h
12#define __Pulsar_ZapInterpreter_h
13
14#include "Pulsar/InterpreterExtension.h"
15
17
18namespace Pulsar {
19
20 class ChannelZapMedian;
21 class Mower;
22 class TimeFrequencyZap;
23 class ZapExtend;
24
25 class ZapInterpreter : public Interpreter::Extension {
26
27 public:
28
30 ZapInterpreter ();
31
33 ~ZapInterpreter ();
34
36 std::string median (const std::string& args);
37
39 std::string mow (const std::string& args);
40
42 std::string tfzap (const std::string& args);
43
45 std::string chan (const std::string& args);
46
48 std::string subint (const std::string& args);
49
51 std::string such (const std::string& args);
52
54 std::string edge (const std::string& args);
55
57 std::string cumulative (const std::string& args);
58
60 std::string freq (const std::string& args);
61
63 std::string extend (const std::string& args);
64
65 std::string zerodm (const std::string& args);
66
68 std::string cal (const std::string& args);
69
71 std::string empty ();
72
73 protected:
74
76 Reference::To<ChannelZapMedian> zap_median;
77
79 Reference::To<Mower> mower;
80
82 Reference::To<TimeFrequencyZap> tf_zapper;
83
85 Reference::To<ZapExtend> zap_extend;
86
88 Reference::To<RobustEstimateZapper> robust_estimate_zapper;
89
91 std::vector<unsigned> set_subints;
92
94 bool zap_calibrator;
95 };
96
97}
98
99#endif
Uses a median smoothed spectrum to find birdies and zap them.
Definition ChannelZapMedian.h:24
Replaces impulsive DM=0 spikes with randomly selected noise.
Definition Mower.h:24
Find bad data using a statistic vs time and frequency.
Definition TimeFrequencyZap.h:28
Extend zapped areas in time and/or frequency.
Definition ZapExtend.h:24
Defines the PSRCHIVE library.
Definition CalSource.h:17

Generated using doxygen 1.14.0