Estimates phase shift in Fourier domain using matrix template matching. More...

#include <MatrixTemplateMatching.h>

Inheritance diagram for Pulsar::MatrixTemplateMatching:
Pulsar::ArrivalTime Pulsar::Algorithm Reference::Able Reference::HeapTracked

Public Member Functions

void set_maximum_harmonic (unsigned max)
 Set the maximum number of harmonics to include in fit.
 
void set_choose_maximum_harmonic (bool flag=true)
 Allow software to choose the maximum harmonic.
 
void preprocess (Archive *archive)
 Prepare the data for use.
 
void set_observation (const Archive *)
 Set the observation from which the arrival times will be derived.
 
void set_standard (const Archive *)
 Set the standard/template to which observation will be matched.
 
- Public Member Functions inherited from Pulsar::ArrivalTime
 ArrivalTime ()
 Default constructor.
 
 ~ArrivalTime ()
 Destructor.
 
void set_shift_estimator (ShiftEstimator *)
 Set the algorithm used to estimate the phase shift.
 
ShiftEstimatorget_shift_estimator () const
 Get the algorithm used to estimate the phase shift.
 
void set_format (Tempo::toa::Format)
 Set the format of the output time-of-arrival estimates.
 
void set_format (const std::string &)
 Set the format as a string.
 
void set_format_flags (const std::string &)
 Set additional format flags.
 
void set_attributes (const std::vector< std::string > &)
 Set additional attributes. More...
 
void set_extra_text (const std::string &)
 Set additional TOA text (only used in tempo2 format) More...
 
void set_skip_bad (bool flag)
 Skip data with zero weight.
 
void set_positive_shifts (bool flag)
 Output only arrival times that are greater than reference time.
 
void get_toas (std::vector< Tempo::toa > &)
 Add to the vector of time-of-arrival estimates.
 
std::string get_value (const std::string &key, const Tempo::toa &)
 Get auxilliary information.
 
void set_residual (Archive *res)
 Set the archive that will store residual profiles.
 
Archiveget_residual ()
 Get the archive of residual profiles.
 
void set_flux_estimator (Flux *)
 Set method for computing flux density of profiles. More...
 
Fluxget_flux_estimator () const
 Get flux density esimtaor.
 
- 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

void get_toas (unsigned subint, std::vector< Tempo::toa > &toas)
 get the arrival times for the specified sub-integration
 
- Protected Member Functions inherited from Pulsar::ArrivalTime
std::string get_tempo2_aux_txt (const Tempo::toa &)
 
std::string get_ipta_aux_txt (const Tempo::toa &)
 
virtual void dress_toas (unsigned subint, std::vector< Tempo::toa > &toas)
 add any additional information as requested
 
Tempo::toa get_toa (Estimate< double > &shift, const Pulsar::Integration *, unsigned ichan)
 
- Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
 
void __dereference (bool auto_delete=true) const
 

Protected Attributes

Reference::To< PulsarCalibratorengine
 The PulsarCalibrator class takes care of many details.
 
- Protected Attributes inherited from Pulsar::ArrivalTime
Reference::To< const Archiveobservation
 The observation to be fit to the standard.
 
Reference::To< const Archivestandard
 The standard to which observations are fit.
 
Reference::To< Archiveresidual
 The residual pulse profiles (transformed observation minus standard)
 
Reference::To< ShiftEstimatorshift_estimator
 
Reference::To< Fluxflux_estimator
 
Tempo::toa::Format format
 the output TOA format
 
std::string format_flags
 additional format-specific flags
 
std::string extra_text
 additional TOA line text
 
std::vector< std::string > attributes
 for formats that support it, a list of attributes to add
 
unsigned toa_subint
 
unsigned toa_chan
 
bool skip_bad
 when true, skip data with zero weight
 
bool positive_shifts {false}
 when true, output arrival times that are always later than phase bin zero
 

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 ()
 
- Static Protected Attributes inherited from Pulsar::ArrivalTime
static Option< std::string > default_format
 default TOA output format
 

Detailed Description

Estimates phase shift in Fourier domain using matrix template matching.


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

Generated using doxygen 1.8.17