Pulsar::Contemporaneity::AtPulsar Class Reference

#include <Contemporaneity.h>

Inheritance diagram for Pulsar::Contemporaneity::AtPulsar:
Pulsar::Contemporaneity Pulsar::Algorithm Reference::Able Reference::HeapTracked

Public Member Functions

void set_archives (const Archive *, const Archive *)
 Retrieve any additional information that may be required.
double evaluate (const Integration *, const Integration *)
 Return a fraction between 0 (no overlap) and 1 (complete overlap)
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

Reference::To< const PredictorpredA
Reference::To< const PredictorpredB

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

This class should be used when combining single pulse data from different bands, in which case each sub-band will be folded using a Pulsar::Predictor that has been "tuned" to a different centre frequency. Consequently, the MJD of pulse #N will vary from band-to-band by the dispersion smearing time. Instead of computing the overlap from the Integration epochs, this class computes the overlap of the pulse phase regions predicted by the Pulsar::Predictor phase model at the Integration epochs.

Member Function Documentation

◆ evaluate()

double Contemporaneity::AtPulsar::evaluate ( const Integration * A,
const Integration * B )
virtual

Return a fraction between 0 (no overlap) and 1 (complete overlap)

Implements Pulsar::Contemporaneity.

References Pulsar::Integration::get_epoch().

◆ set_archives()

void Contemporaneity::AtPulsar::set_archives ( const Archive * A,
const Archive * B )
virtual

Retrieve any additional information that may be required.

Implements Pulsar::Contemporaneity.

References Pulsar::Archive::get_model().


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

Generated using doxygen 1.14.0