LevelHistory.h
1 /***************************************************************************
2  *
3  * Copyright (C) 2008 by Willem van Straten
4  * Licensed under the Academic Free License version 2.1
5  *
6  ***************************************************************************/
7 
8 #ifndef __LevelHistory_h
9 #define __LevelHistory_h
10 
11 #include "ReferenceAble.h"
12 #include <vector>
13 
14 namespace dsp
15 {
16  class HistUnpacker;
17 
19  class LevelHistory : public Reference::Able
20  {
21 
22  public:
23 
25  virtual void set_unpacker (HistUnpacker*) = 0;
26 
28  virtual void log_stats (std::vector<double>& mean,
29  std::vector<double>& variance) = 0;
30 
31  };
32 
33 }
34 
35 #endif
void set_output(BitSeries *data)
Set the bits series into which data will be loaded.
Definition: Seekable.C:318
Loads TimeSeries data from a SMRO data file.
Definition: SMROFile.h:26
void set_output(TimeSeries *)
Overload Transformation::set_output to also set weighted_output.
Definition: ExcisionUnpacker.C:43
Contains all Baseband Data Reduction Library classes.
Definition: ASCIIObservation.h:17
void set_input(const In *input)
Set the container from which input data will be read.
Definition: Transformation.h:258
virtual void set_unpacker(HistUnpacker *)=0
Set the HistUnpacker from which histogram will be recorded.
virtual void close()
Close the file.
Definition: File.C:145
virtual void open(const char *filename)
Open the file.
Definition: File.C:120
virtual bool operate()
Call this method to operate on data Returns false on failure.
Definition: Operation.C:90
Arrays of consecutive samples for each polarization and frequency channel.
Definition: TimeSeries.h:29
virtual BitSeries * get_output()
Retrieve a pointer to the output.
Definition: Input.C:213
A container for storing digitized (generally not floating point) data
Definition: BitSeries.h:35
virtual void log_stats(std::vector< double > &mean, std::vector< double > &variance)=0
Log the statistics of the digitized data in some form.
Converts SMRO data from 2-bit digitized to floating point values.
Definition: SMROTwoBitCorrection.h:24
virtual void set_block_size(uint64_t _size)
Set the number of time samples to load on each load_block.
Definition: Input.C:399

Generated using doxygen 1.8.17