Calibration::StandardSpectra Class Reference

Computes the normalized complex Stokes parameters in each harmonic. More...

#include <StandardSpectra.h>

Inheritance diagram for Calibration::StandardSpectra:
Reference::Able Reference::HeapTracked

Public Member Functions

 StandardSpectra (const Pulsar::PolnProfile *select=0)
 Default constructor. More...
 
void select_profile (const Pulsar::PolnProfile *)
 Select the baseline and last harmonic from profile. More...
 
void set_profile (const Pulsar::PolnProfile *)
 Set the profile from which estimates will be derived.
 
const Pulsar::PolnProfileget_fourier () const
 Get the fourier transform of the last set profile.
 
unsigned get_last_harmonic () const
 Return the index of the last harmonic.
 
void set_normalize (bool)
 Normalize estimates by the average determinant.
 
Stokes< std::complex< Estimate< double > > > get_stokes (unsigned ibin)
 Get the Stokes parameters of the specified phase bin.
 
Pulsar::PolnSpectrumStatsget_stats ()
 Get the statistical interface to the data.
 
- 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< Pulsar::PolnSpectrumStatsstats
 
Reference::To< MEAL::NormalizeStokesnormalize
 
Estimate< double > total_determinant
 
unsigned last_harmonic
 

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 normalized complex Stokes parameters in each harmonic.

This class is the Fourier domain equivalent of the StandardData class.

Constructor & Destructor Documentation

◆ StandardSpectra()

Calibration::StandardSpectra::StandardSpectra ( const Pulsar::PolnProfile pp = 0)

Default constructor.

If specified, baseline and last harmonic are defined by select

If specified, baseline and on-pulse regions are defined by select

Member Function Documentation

◆ select_profile()

void Calibration::StandardSpectra::select_profile ( const Pulsar::PolnProfile pp)

Select the baseline and last harmonic from profile.

Select the baseline and on-pulse regions from profile.


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

Generated using doxygen 1.8.17