12 #include "dsp/Transformation.h"
13 #include "dsp/TimeSeries.h"
23 class TScrunch : public Transformation <TimeSeries, TimeSeries>
30 void set_factor ( unsigned samples );
31 unsigned get_factor () const;
33 void set_time_resolution ( double microseconds );
34 double get_time_resolution () const;
38 void set_engine (Engine*);
56 mutable unsigned factor;
57 mutable double time_resolution;
60 mutable bool use_tres;
75 unsigned sfactor) = 0;
80 #endif // !defined(__TScrunch_h)
Contains all Baseband Data Reduction Library classes. Definition: ASCIIObservation.h:17
void reserve() Reserve the maximum amount of output space required. Definition: TScrunch.C:92
Behaviour All Transformations must define their behaviour. Definition: Transformation.h:47
Decimates a TimeSeries in the time domain. Definition: TScrunch.h:28
void transformation() Perform decimation. Definition: TScrunch.C:126
void prepare() Prepare all relevant attributes. Definition: TScrunch.C:72
Arrays of consecutive samples for each polarization and frequency channel. Definition: TimeSeries.h:29
void prepare_output() Prepare the output TimeSeries. Definition: TScrunch.C:108
@ OrderFPT Frequency, Polarization, Time (default before 3 October 2008) Definition: TimeSeries.h:47
@ OrderTFP Time, Frequency, Polarization (better for many things) Definition: TimeSeries.h:50
Generated using doxygen 1.8.17
|