dsp::LoadToQuantize::Config Class Reference

LoadToQuantize configuration. More...

#include <LoadToQuantize.h>

Inheritance diagram for dsp::LoadToQuantize::Config:
dsp::SingleThread::Config Reference::Able Reference::HeapTracked

Public Member Functions

 Config (const std::string &_channel_range, const std::string &_pol_range, unsigned _output_nbit)
 
void add_options (CommandLine::Menu &) override
 Add command line options.
 
std::pair< uint32_t, uint32_t > parse_range (const std::string &range, uint32_t max_range)
 parse a command line string of form a:b into a pair of integers
 
- Public Member Functions inherited from dsp::SingleThread::Config
 Config ()
 Default constructor.
 
Sourceopen (int argc, char **argv)
 Create new Input based on command line options. More...
 
void set_times_minimum_ndat (unsigned)
 
unsigned get_times_minimum_ndat () const
 
void set_maximum_RAM (uint64_t)
 
uint64_t get_maximum_RAM () const
 
void set_minimum_RAM (uint64_t)
 
uint64_t get_minimum_RAM () const
 
virtual void prepare (Source *)
 Prepare the input according to the configuration.
 
void set_cuda_device (std::string)
 set the cuda devices to be used
 
unsigned get_cuda_ndevice () const
 
void set_nthread (unsigned)
 set the number of CPU threads to be used
 
unsigned get_total_nthread () const
 get the total number of threads
 
void set_affinity (std::string)
 set the cpus on which each thread will run
 
void set_fft_library (std::string)
 set the FFT library
 
unsigned get_nbuffers () const
 get the number of buffers required to process the data
 
virtual void set_quiet ()
 Operate in quiet mode.
 
virtual void set_verbose ()
 Operate in verbose mode.
 
virtual void set_very_verbose ()
 Operate in very verbose mode.
 
- Public Member Functions inherited from Reference::Able
 Able (const Able &)
 
Ableoperator= (const Able &)
 
unsigned get_reference_count () const
 
- Public Member Functions inherited from Reference::HeapTracked
 HeapTracked (const HeapTracked &)
 
HeapTrackedoperator= (const HeapTracked &)
 
bool __is_on_heap () const
 

Public Attributes

unsigned output_nbit = 8
 Number of bits per sample in output.
 
std::string channel_range
 Output channel range (inclusive) to select with format first:last.
 
std::string pol_range
 Output polarisation range (inclusive) to select with format first:last.
 
- Public Attributes inherited from dsp::SingleThread::Config
std::string application_name
 The name of the application.
 
Functor< void(Source *) > source_prepare
 external function used to prepare the input each time it is opened
 
bool force_contiguity
 
bool command_line_header
 
MJD seek_epoch
 Seek such that the first time sample output is at the specified (topocentric) MJD. More...
 
double seek_seconds
 
double total_seconds
 
bool list_attributes
 List all editor-accessible attributes of the observation.
 
TextEditor< Observationeditor
 The editor used to set Observation attributes via the command line.
 
bool report_vitals
 report vital statistics
 
bool report_done
 report the percentage finished
 
bool run_repeatedly
 run repeatedly on the same input
 
bool input_buffering
 use input-buffering to compensate for operation edge effects
 
bool weighted_time_series
 use weighted time series to flag bad data
 
std::vector< std::string > dump_before
 dump points
 
std::vector< std::string > mask_before
 mask points
 

Additional Inherited Members

- Static Public Member Functions inherited from Reference::Able
static size_t get_instance_count ()
 
- Static Public Member Functions inherited from Reference::HeapTracked
static void * operator new (size_t size, void *ptr=0)
 
static void operator delete (void *location, void *ptr)
 
static void operator delete (void *location)
 
static size_t get_heap_queue_size ()
 
- Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
 
void __dereference (bool auto_delete=true) const
 
- Protected Attributes inherited from dsp::SingleThread::Config
bool can_cuda
 application can make use of CUDA
 
std::vector< unsigned > cuda_device
 CUDA devices on which computations will take place.
 
bool can_thread
 application can make use of multiple cores
 
std::vector< unsigned > affinity
 CPUs on which threads will run.
 
unsigned nthread
 number of CPU threads
 
unsigned buffers
 number of buffers that have been created by new_time_series
 
unsigned repeated
 number of times that the input has been re-opened
 
unsigned times_minimum_ndat
 
uint64_t maximum_RAM
 
uint64_t minimum_RAM
 

Detailed Description

LoadToQuantize configuration.


The documentation for this class was generated from the following files:

Generated using doxygen 1.8.17