9#ifndef IMPBFF_DECAYPATTERN_H
10#define IMPBFF_DECAYPATTERN_H
12#include <IMP/bff/bff_config.h>
15#include <IMP/bff/DecayModifier.h>
29 double constant_offset = 0.0;
32 double pattern_fraction = 0.0;
87 double constant_offset = 0.0,
89 double pattern_fraction = 0.0,
Class for fluorescence decay curves.
Definition DecayCurve.h:38
A decorator that modifies a DecayCurve within a specified range.
Definition DecayModifier.h:29
The DecayPattern class represents a decay pattern with a constant offset and a background pattern.
Definition DecayPattern.h:26
void set_constant_offset(double v)
Set the constant offset in the model.
double get_constant_offset() const
Get the constant offset in the model.
double get_pattern_fraction() const
Get the fraction (area) of the background pattern.
void set_pattern_fraction(double v)
Set the fraction (area) of the background pattern.
void add(DecayCurve *out) override
Add the background pattern to the given decay curve.
DecayPattern(double constant_offset=0.0, DecayCurve *pattern=nullptr, double pattern_fraction=0.0, int start=0, int stop=-1, bool active=true)
Constructor for the DecayPattern class.
DecayCurve * get_pattern()
Get the background pattern.
void set_pattern(DecayCurve *v)
Set the background pattern.