Pulsar::WidebandCorrelator Class Reference

Stores Parkes Wideband Correlator parameters. More...

#include <WidebandCorrelator.h>

Inheritance diagram for Pulsar::WidebandCorrelator:
Pulsar::Backend Pulsar::Archive::Extension Reference::Able Reference::HeapTracked

Public Member Functions

 WidebandCorrelator ()
 Default constructor.
 WidebandCorrelator (const WidebandCorrelator &extension)
 Copy constructor.
const WidebandCorrelatoroperator= (const WidebandCorrelator &extension)
 Assignment operator.
TextInterface::Parserget_interface ()
 Return a text interfaces that can be used to access this instance.
 ~WidebandCorrelator ()
 Destructor.
WidebandCorrelatorclone () const
 Clone method.
std::string get_config () const
 Get the configuration file name.
void set_config (const std::string &config)
double get_tcycle () const
 Get the tcycle.
void set_tcycle (const double _tcycle)
int get_nrcvr () const
 Get the number of receiver channels.
void set_nrcvr (int _nrcvr)
Public Member Functions inherited from Pulsar::Backend
 Backend (const std::string &ext_name="Backend")
 Default constructor.
 Backend (const Backend &)
 Copy constructor.
const Backendoperator= (const Backend &)
 Operator =.
std::string get_short_name () const
 Return an abbreviated name that can be typed relatively quickly.
std::string get_name () const
 Return the name of the Backend.
void set_name (const std::string &name)
 Set the name of the backend.
Signal::Hand get_hand () const
 Get the hand of the backend.
void set_hand (Signal::Hand)
 Set the hand of the backend.
Signal::Argument get_argument () const
 Get the argument of the backend.
void set_argument (Signal::Argument)
 Set the argument of the backend.
bool get_downconversion_corrected () const
 True if backend has compensated for lower sideband downconversion.
void set_downconversion_corrected (bool corrected=true)
 True if backend has compensated for lower sideband downconversion.
bool get_corrected () const
 True if backend corrections were applied during calibration.
void set_corrected (bool corrected=true)
 True if backend corrections were applied during calibration.
double get_delay () const
 Get the delay.
void set_delay (const double set_delay)
 Set the delay.
Public Member Functions inherited from Pulsar::Archive::Extension
 Extension (const char *name)
 Construct with a name.
virtual ~Extension ()
 Destructor.
std::string get_extension_name () const
 Return the name of the Extension.
virtual bool has_data () const
 Returns true if the Extension contains useful data.
virtual void resize (unsigned nsubint, unsigned npol=0, unsigned nchan=0, unsigned nbin=0)
 Resize the Extension.
virtual void frequency_append (Archive *to, const Archive *from)
 Append data along frequency dimension, if applicable.
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

std::string configfile
 Name of the configuration file used (if any)
int nrcvr
 Number of receiver channels.
double tcycle
 Fundamental correlator cycle time.

Additional Inherited Members

Static Public Member Functions inherited from Pulsar::Archive::Extension
static Extensionfactory (const std::string &name)
 Derived type factory.
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 Pulsar::Backend
std::string name
 The name of the backend.
Signal::Hand hand
 The backend handedness.
Signal::Argument argument
 The backend argument.
bool downconversion_corrected
 True if backend has compensated for lower sideband downconversion.
bool corrected
 True if backend corrections were applied during calibration.
double delay
 proportional delay from digitiser input
Protected Attributes inherited from Pulsar::Archive::Extension
std::string extension_name
 Extension name - useful when debugging.

Detailed Description

Stores Parkes Wideband Correlator parameters.

This class stores information specific to the Wideband Correlator at Parkes

Member Function Documentation

◆ clone()

WidebandCorrelator * Pulsar::WidebandCorrelator::clone ( ) const
inlinevirtual

Clone method.

Reimplemented from Pulsar::Backend.

References WidebandCorrelator().

◆ get_interface()

TextInterface::Parser * Pulsar::WidebandCorrelator::get_interface ( void )
virtual

Return a text interfaces that can be used to access this instance.

Reimplemented from Pulsar::Backend.

◆ operator=()

const Pulsar::WidebandCorrelator & Pulsar::WidebandCorrelator::operator= ( const WidebandCorrelator & extension)

Assignment operator.

Operator =.

References configfile, nrcvr, Pulsar::Backend::operator=(), tcycle, and WidebandCorrelator().

Referenced by WidebandCorrelator().


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

Generated using doxygen 1.14.0