Cross-covariances between the Stokes parameters. More...

#include <StokesCrossCovariance.h>

Inheritance diagram for Pulsar::StokesCrossCovariance:
Pulsar::Container Reference::Able Reference::HeapTracked

Public Member Functions

 StokesCrossCovariance (const CrossCovarianceMatrix *=0)
 Construct from a CrossCovarianceMatrix object.
 
void load (const CrossCovarianceMatrix *)
 Load from a CrossCovarianceMatrix object.
 
void unload (CrossCovarianceMatrix *)
 Unload to a CrossCovarianceMatrix object.
 
virtual StokesCrossCovarianceclone () const
 Clone operator.
 
unsigned get_nbin () const
 Get the number of longitude bins.
 
void set_nbin (unsigned)
 
unsigned get_nlag () const
 Get the number of lage.
 
void set_nlag (unsigned)
 
void resize ()
 Pepare to store.
 
void set_all (double val=0.0)
 Set all values to specified value.
 
Matrix< 4, 4, double > get_cross_covariance (unsigned ibin, unsigned jbin, unsigned ilag=0) const
 Get the Stokes cross covariance for the specified pair of bins.
 
Matrix< 4, 4, double > & get_cross_covariance (unsigned ibin, unsigned jbin, unsigned ilag=0)
 Get the Stokes cross covariance for the specified pair of bins.
 
void set_cross_covariance (unsigned ibin, unsigned jbin, const Matrix< 4, 4, double > &, bool lock=false)
 Set the Stokes covariance for the specified bin.
 
void set_cross_covariance (unsigned ibin, unsigned jbin, unsigned ilag, const Matrix< 4, 4, double > &, bool lock=false)
 Set the Stokes covariance for the specified bin.
 
unsigned get_icross (unsigned ibin, unsigned jbin, unsigned ilag=0) const
 Get the offset for the specified bin pair and lag.
 
unsigned get_ncross (unsigned ilag) const
 Get the number of cross-covariance matrices for the specified lag.
 
unsigned get_ncross_total () const
 Get the total number of cross-covariance matrices.
 
- 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

unsigned get_icross_check (unsigned ibin, unsigned jbin, unsigned ilag, const char *) const
 
- Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
 
void __dereference (bool auto_delete=true) const
 

Protected Attributes

unsigned nbin
 
unsigned nlag
 
std::vector< Matrix< 4, 4, double > > cross_covariance
 The cross covariance matrix for each phase bin pair.
 
std::vector< bool > locked
 

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 ()
 

Detailed Description

Cross-covariances between the Stokes parameters.

Computed as a function of lag in turns for all pulse longitude pairs


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

Generated using doxygen 1.8.17