Pulsar::StandardFlux Class Reference

Computes average flux of a Profile by fitting to a standard. More...

#include <StandardFlux.h>

Inheritance diagram for Pulsar::StandardFlux:
Pulsar::Flux Pulsar::Algorithm Reference::Able Reference::HeapTracked

Public Member Functions

 StandardFlux ()
 Default constructor.
 
 ~StandardFlux ()
 Destructor.
 
Estimate< double > get_flux (const Profile *p)
 Return flux w/ uncertainty.
 
std::string get_method () const
 Return name of flux algorithm.
 
void set_standard (const Profile *p)
 Set the standard profile to use.
 
void set_fit_shift (bool _fit=true)
 Fit for shift as well as scale.
 
- Public Member Functions inherited from Pulsar::Flux
 Flux ()
 Default constructor.
 
 ~Flux ()
 Destructor.
 
Estimate< double > operator() (const Profile *p)
 Return flux.
 
- 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

ProfileShiftFit psf
 Shift/scale fit.
 
Reference::To< const Profilestdprof
 Standard profile.
 
double stdfac
 Std normalization factor.
 
double sumstd
 Sum of std values.
 
double sumstd2
 Sum of squared std values.
 
bool fit_shift
 Fit shift or just scale.
 

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 average flux of a Profile by fitting to a standard.


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

Generated using doxygen 1.8.17