Computes mean position angle difference from weighted cross-correlation. More...

#include <DeltaPA.h>

Public Member Functions

 DeltaPA ()
 Default constructor.
 
 ~DeltaPA ()
 Destructor.
 
Estimate< double > get (const PolnProfile *p0, const PolnProfile *p1) const
 Get the position angle difference mean.
 
unsigned get_used_bins () const
 Get the number of phase bins used in the last call to get.
 
void set_threshold (float t)
 Set the cutoff threshold in units of the baseline noise.
 
float get_threshold () const
 
void set_onpulse (PhaseWeight *w)
 Set the on-pulse mask.
 
void set_include (const std::vector< unsigned > &bins)
 Set the phase bins to be included in the mean.
 
void set_exclude (const std::vector< unsigned > &bins)
 Set the phase bins to be excluded from the mean. More...
 

Protected Attributes

float threshold
 
unsigned used_bins
 
std::vector< unsigned > include_bins
 Include only the specified phase bins.
 
std::vector< unsigned > exclude_bins
 Exclude the specified phase bins.
 
Reference::To< PhaseWeightonpulse_weights
 Weights applied to each phase bin (defines on-pulse region)
 

Detailed Description

Computes mean position angle difference from weighted cross-correlation.

Member Function Documentation

◆ set_exclude()

void Pulsar::DeltaPA::set_exclude ( const std::vector< unsigned > &  bins)

Set the phase bins to be excluded from the mean.

Set the phase bins to be excluded exclude the mean.

Referenced by Pulsar::DeltaRM::refine().


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

Generated using doxygen 1.8.17