IMP.bff
Loading...
Searching...
No Matches
DecayScale.h
Go to the documentation of this file.
1
13#ifndef IMPBFF_DECAYSCALE_H
14#define IMPBFF_DECAYSCALE_H
15
16#include <IMP/bff/bff_config.h>
17#include <iostream>
18#include <IMP/bff/DecayCurve.h>
19#include <IMP/bff/DecayModifier.h>
20#include <IMP/bff/DecayRoutines.h>
21
22IMPBFF_BEGIN_NAMESPACE
23
34class IMPBFFEXPORT DecayScale : public DecayModifier {
35private:
36 double _constant_background = 0.0;
37 bool _blank_outside = true;
38
39public:
47
53
59
64 void set_blank_outside(double v);
65
71
81 void set(DecayCurve* data = nullptr, double constant_background = 0.0,
82 int start = 0, int stop = -1, bool active = true,
83 bool blank_outside = true);
84
94 DecayScale(DecayCurve* data = nullptr, double constant_background = 0.0,
95 int start = 0, int stop = -1, bool active = true,
96 bool blank_outside = true);
97
102 void add(DecayCurve* decay);
103};
104
105IMPBFF_END_NAMESPACE
106
107#endif // IMPBFF_DECAYSCALE_H
Class for fluorescence decay curves.
Definition DecayCurve.h:38
A decorator that modifies a DecayCurve within a specified range.
Definition DecayModifier.h:29
A class for scaling a DecayCurve by a constant factor and subtracting a constant background value.
Definition DecayScale.h:34
bool get_blank_outside()
void add(DecayCurve *decay)
void set_blank_outside(double v)
double get_constant_background() const
void set_constant_background(double v)
DecayScale(DecayCurve *data=nullptr, double constant_background=0.0, int start=0, int stop=-1, bool active=true, bool blank_outside=true)
void set(DecayCurve *data=nullptr, double constant_background=0.0, int start=0, int stop=-1, bool active=true, bool blank_outside=true)
double get_number_of_photons()