dsp::LoadToFITS::Config Class Reference

Load, unpack, filterbank, re-digitize, and write to FITS. More...

#include <LoadToFITS.h>

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

Public Member Functions

void set_times_minimum_ndat (unsigned)
 
unsigned get_times_minimum_ndat () const
 
void set_maximum_RAM (uint64_t)
 
uint64_t get_maximum_RAM () const
 
virtual void set_quiet ()
 Set quiet mode.
 
virtual void set_verbose ()
 Set verbose.
 
virtual void set_very_verbose ()
 Set very verbose.
 
- Public Member Functions inherited from dsp::SingleThread::Config
 Config ()
 Default constructor.
 
virtual void add_options (CommandLine::Menu &)
 Add command line options.
 
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
 
- 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

double block_size
 
dsp::TimeSeries::Order order
 
Filterbank::Config filterbank
 Filterbank config options.
 
bool apply_FITS_scale_and_offset
 when unpacking FITS data, denormalize using DAT_SCL and DAT_OFFS
 
unsigned times_minimum_ndat
 set block size to this factor times the minimum possible
 
double maximum_RAM
 Maximum RAM to use (per thread)
 
double dispersion_measure
 dispersion measure set in output file
 
bool dedisperse
 removed inter-channel dispersion delays
 
bool coherent_dedispersion
 coherently dedisperse along with filterbank
 
bool coherent_derotation = false
 phase-coherent Faraday rotation correction (not implemented)
 
double start_time_delay
 artificial delay to the start time in seconds
 
unsigned tscrunch_factor
 integrate in time before digitization
 
unsigned fscrunch_factor
 integrate in frequency before digitization
 
int npol
 polarizations (Intensity, AABB, or Coherency)
 
double rescale_seconds
 time interval (in seconds) between offset and scale updates
 
bool rescale_constant
 hold offset and scale constant after first update
 
double integration_length
 set maximum length for a file
 
int nbits
 number of bits used to re-digitize the floating point time series
 
double tsamp
 integration time per output sample
 
unsigned nsblk
 number of samples per output data block
 
std::string output_filename
 Name of the output file.
 
bool upper_sideband_output
 produce upper sideband output
 
- 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

Load, unpack, filterbank, re-digitize, and write to FITS.


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

Generated using doxygen 1.8.17