Pulsar::IntegrationWeight Class Referenceabstract

Algorithms that set the weights of sub-integrations. More...

#include <IntegrationWeight.h>

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

Public Member Functions

 IntegrationWeight ()
 Default constructor.
 
void weight (Integration *)
 Set integration weights.
 
void set_weight_absolute (bool f)
 Set weight equal to value or scale weight by value. More...
 
bool get_weight_absolute () const
 
virtual double get_weight (const Integration *, unsigned ichan)=0
 
- Public Member Functions inherited from Pulsar::Weight
 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 Attributes

bool weight_absolute
 
- Protected Attributes inherited from Pulsar::Weight
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 ()
 
- Protected Member Functions inherited from Pulsar::Weight
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
 

Detailed Description

Algorithms that set the weights of sub-integrations.

Member Function Documentation

◆ set_weight_absolute()

void Pulsar::IntegrationWeight::set_weight_absolute ( bool  f)
inline

Set weight equal to value or scale weight by value.

When true: the weight is set equal to the duration (weight = duration) When false: the weight is scaled by the duration (weight *= duration)


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

Generated using doxygen 1.8.17