Pulsar::Correlate Class Reference

Computes the cross-correlation between two profiles. More...

#include <Correlate.h>

Inheritance diagram for Pulsar::Correlate:
Pulsar::Combination< Profile > Pulsar::Transformation< Profile > Pulsar::Algorithm Reference::Able Reference::HeapTracked

Public Member Functions

void transform (Profile *argument) override
 Set argument amplitudes equal to the cross-correlation between argument and operand.
void set_normalize (bool flag)
 Modify the behaviour of subsequent calls to transform method.
Public Member Functions inherited from Pulsar::Combination< Profile >
void set_operand (const Profile *o)
 Set the Container from which data will be taken during tranformation.
const Profileget_operand () const
 Get the Container from which data will be taken during transformation.
Public Member Functions inherited from Pulsar::Transformation< Profile >
void operator() (Profile *container)
 Functor interface.
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 normalize = true
 By default, call Profile::correlate_normalized to compute the power-normalized cross-correlation.
Protected Attributes inherited from Pulsar::Combination< Profile >
Reference::To< const Profileoperand

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

Detailed Description

Computes the cross-correlation between two profiles.

Member Function Documentation

◆ set_normalize()

void Pulsar::Correlate::set_normalize ( bool flag)
inline

Modify the behaviour of subsequent calls to transform method.

If true, call Profile::correlate_normalized to compute the power-normalized cross-correlation If false, call Profile::correlate

References normalize.

◆ transform()

void Pulsar::Correlate::transform ( Profile * argument)
overridevirtual

Set argument amplitudes equal to the cross-correlation between argument and operand.

operand is a member of the Combination<Profile> base class

Implements Pulsar::Transformation< Profile >.

References Pulsar::Profile::correlate(), Pulsar::Profile::correlate_normalized(), Pulsar::Combination< Profile >::get_operand(), normalize, and Pulsar::Profile::verbose.


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

Generated using doxygen 1.14.0