10#ifndef IMPBFF_DECAYSCORE_H
11#define IMPBFF_DECAYSCORE_H
13#include <IMP/bff/bff_config.h>
18#include <IMP/bff/internal/PhotonStatistics.h>
19#include <IMP/bff/DecayRange.h>
20#include <IMP/bff/DecayCurve.h>
41 std::vector<double> _weighted_residuals;
42 std::string _score_type =
"default";
69 void update_weighted_residuals();
84 double get_score(
int start = 0,
int stop = -1,
const char* score_type =
nullptr);
105 std::string score_type =
"poisson",
106 int start = 0,
int stop = -1
126 std::string score_type =
"poisson",
135 delete _default_data;
136 delete _default_model;
Class for fluorescence decay curves.
Definition DecayCurve.h:38
Represents an inspected range of fluorescence decay.
Definition DecayRange.h:30
Class for scoring model fluorescence decay.
Definition DecayScore.h:34
void set(DecayCurve *model, DecayCurve *data, std::string score_type="poisson", int start=0, int stop=-1)
std::string get_score_type()
std::vector< double > & get_weighted_residuals()
DecayScore(DecayCurve *model=nullptr, DecayCurve *data=nullptr, std::string score_type="poisson", int start=0, int stop=-1)
Constructs a DecayScore object with the specified model, experimental data, score type,...
void set_score_type(std::string v)
double score(DecayCurve *model=nullptr)
void set_data(DecayCurve *v)
~DecayScore() override
Destroys the DecayScore object and frees any allocated memory.
Definition DecayScore.h:134
double get_score(int start=0, int stop=-1, const char *score_type=nullptr)
void set_model(DecayCurve *v)