Pulsar::PolnCalibratorExtension::Transformation Class Reference

Intermediate storage of MEAL::Complex parameters. More...

#include <PolnCalibratorExtension.h>

Inheritance diagram for Pulsar::PolnCalibratorExtension::Transformation:
Reference::Able Reference::HeapTracked

Public Member Functions

 Transformation ()
 Default constructor.
unsigned get_nparam () const
 Get the number of model parameters.
void set_nparam (unsigned)
 Set the number of model parameters.
std::string get_param_name (unsigned) const
 Get the name of the specified model parameter.
void set_param_name (unsigned, const std::string &)
 Set the name of the specified model parameter.
std::string get_param_description (unsigned) const
 Get the description of the specified model parameter.
void set_param_description (unsigned, const std::string &)
 Set the description of the specified model parameter.
double get_param (unsigned) const
 Get the value of the specified model parameter.
void set_param (unsigned, double)
 Set the value of the specified model parameter.
double get_variance (unsigned) const
 Get the variance of the specified model parameter.
void set_variance (unsigned, double)
 Set the variance of the specified model parameter.
std::vector< std::vector< double > > get_covariance () const
 Get the covariance matrix of the model paramters.
void set_covariance (const std::vector< std::vector< double > > &)
 Set the covariance matrix of the model paramters.
void get_covariance (std::vector< double > &) const
 Get the covariance matrix efficiently.
void set_covariance (const std::vector< double > &)
 Set the covariance matrix efficiently.
Estimate< double > get_Estimate (unsigned) const
 Get the value and variance of the specified model parameter.
void set_Estimate (unsigned, const Estimate< double > &)
 Set the value and variance of the specified model parameter.
bool get_valid () const
 Get the model validity flag.
void set_valid (bool)
 Set the model validity flag.
double get_chisq () const
 Get the best fit value of chi squared.
void set_chisq (double)
 Set the best fit value of chi squared.
double get_log_det_curvature () const
 Get the logarithm of the determinant of the curvature matrix.
void set_log_det_curvature (double)
 Set the logarithm of the determinant of the curvature matrix.
double get_log_cond_curvature () const
 Get the logarithm of the condition number of the curvature matrix.
void set_log_cond_curvature (double)
 Set the logarithm of the condition number of the curvature matrix.
unsigned get_nfree () const
 Get the number of degrees of freedom.
void set_nfree (unsigned)
 Set the number of degress of freedom.
unsigned get_nfit () const
 Get the number of model parameters varied to find best fit.
void set_nfit (unsigned)
 Set the number of model parameters varied to find best fit.
unsigned get_ndim () const
 Get the number of abscissa / dimensions.
void set_ndim (unsigned)
 Set the number of abscissa / dimensions.
double get_reduced_chisq () const
 Get the best fit value of the reduced chi squared = chisq/nfree.
double get_Akaike_information_criterion () const
 Get the Akaike information criterion.
double get_Bayesian_information_criterion () const
 Get the Bayesian information criterion.
double get_geometric_information_criterion () const
 Get the geometric information criterion.
double get_stochastic_information_complexity () const
 Get the stochastic information complexity.
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

std::vector< Estimate< double > > params
std::vector< std::string > names
std::vector< std::string > descriptions
std::vector< double > covariance
double chisq = 0.0
double log_det_curvature = 0.0
double log_cond_curvature = 0.0
unsigned nfree = 0
unsigned nfit = 0
unsigned ndim = 0
bool valid = false

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

Intermediate storage of MEAL::Complex parameters.

Member Data Documentation

◆ ndim

unsigned Pulsar::PolnCalibratorExtension::Transformation::ndim = 0
protected

Currently (29 Dec 2024), ndim is not stored with the model results; rather, it is derived from the ConfigurableProjection

Referenced by get_geometric_information_criterion(), get_ndim(), and set_ndim().


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

Generated using doxygen 1.14.0