34#define CTERROR_NAME "cterror"
48 cterror(
int argc,
char *argv[]);
Parameter error calculation tool.
void clear(void)
Clear cterror tool.
std::string m_srcname
Name of source.
void init_members(void)
Initialise class members.
std::vector< double > m_min_intensities
Minimum intensities.
virtual ~cterror(void)
Destructor.
void process(void)
Compute parameter errors using a likelihood profile method.
double m_value
Parameter value.
std::vector< double > m_intensities
Model intensity.
GFits m_fits
FITS file holding butterfly.
cterror(void)
Void constructor.
GEnergies m_energies
Energy values.
double m_best_logL
Best fit log likelihood of given model.
bool m_apply_edisp
Apply energy dispersion?
void save(void)
Save model.
std::vector< double > m_max_intensities
Maximum intensities.
cterror & operator=(const cterror &app)
Assignment operator.
void free_members(void)
Delete class members.
void update_intensities(void)
Update intensities.
double error_bisection(const double &min, const double &max)
Calculate error using a bisection method.
GModelPar * m_model_par
Pointer to model parameter.
double m_dlogL
Likelihood difference for upper limit computation.
double m_tol
Tolerance for limit determination.
void get_parameters(void)
Get application parameters.
int m_max_iter
Maximum number of iterations.
GChatter m_chatter
Chattiness.
double m_confidence
Confidence level.
void copy_members(const cterror &app)
Copy class members.
void create_fits(void)
Set result FITS file.
Base class for likelihood tools.
const GObservations & obs(void) const
Return observation container.
Likelihood tool base class interface definition.