Algorithms that set the weights of all Profiles in an Archive. More...

#include <Weight.h>

Inheritance diagram for Pulsar::Weight:
Pulsar::Algorithm Reference::Able Reference::HeapTracked Pulsar::ChannelWeight Pulsar::IntegrationWeight Pulsar::ChannelZapMedian Pulsar::DurationWeight Pulsar::RadiometerWeight Pulsar::SNRWeight Pulsar::StandardSNRWeight

Public Member Functions

 Weight ()
 Default constructor.
virtual void operator() (Archive *)
 Set the weights of all Profiles in the Archive.
virtual TextInterface::Parserget_interface ()
 Return a text interface that can be used to configure this instance.
void set_fscrunch (const ScrunchFactor &f)
 Set the frequency scrunch factor.
const ScrunchFactor get_fscrunch () const
 Get the frequency scrunch factor.
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

Protected Member Functions

virtual void weight (Integration *)=0
 Set the weight of each frequency channel in the sub-integration.
void copy_weights (const Integration *from, Integration *to)
 Copy the weights from 'from' to 'to'.
Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
void __dereference (bool auto_delete=true) const

Protected Attributes

ScrunchFactor fscrunch_factor
 Compute weights from fscrunched clone of data, then apply to original.

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 ()

Detailed Description

Algorithms that set the weights of all Profiles in an Archive.

Member Function Documentation

◆ get_interface()

TextInterface::Parser * Pulsar::Weight::get_interface ( )
virtual

Return a text interface that can be used to configure this instance.

Reimplemented in Pulsar::ChannelZapMedian.

◆ operator()()

void Pulsar::Weight::operator() ( Archive * archive)
virtual

◆ weight()

virtual void Pulsar::Weight::weight ( Integration * )
protectedpure virtual

Set the weight of each frequency channel in the sub-integration.

Implemented in Pulsar::ChannelZapMedian, and Pulsar::IntegrationWeight.

Referenced by operator()().


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

Generated using doxygen 1.14.0