IMP logo
IMP Reference Guide  develop.63b38c487d,2024/12/22
The Integrative Modeling Platform
DecayRoutines.h File Reference

Decay routines (e.g. convolution, scaling, and lamp shift routines) More...

#include <IMP/bff/bff_config.h>
#include <cmath>
#include <numeric>
#include <iostream>
#include <vector>
#include <algorithm>
#include <string.h>
+ Include dependency graph for DecayRoutines.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 IMP
 Base functionality and abstract base classes for representation, scoring and sampling.
 
 IMP::bff
 Bayesian Fluorescence Framework.
 

Functions

void IMP::bff::decay_add_pile_up_to_model (double *model, int n_model, double *data, int n_data, double repetition_rate, double instrument_dead_time, double measurement_time, std::string pile_up_model="coates", int start=0, int stop=-1)
 Add a pile-up distortion to the model function. More...
 
void IMP::bff::decay_fconv (double *fit, double *x, double *lamp, int numexp, int start, int stop, double dt=0.05)
 Convolve lifetime spectrum with instrument response (fast convolution, low repetition rate) More...
 
void IMP::bff::decay_fconv_avx (double *fit, double *x, double *lamp, int numexp, int start, int stop, double dt=0.05)
 Convolve lifetime spectrum with instrument response (fast convolution, AVX optimized for large lifetime spectra) More...
 
void IMP::bff::decay_fconv_cs_time_axis (double *inplace_output, int n_output, double *time_axis, int n_time_axis, double *irf, int n_irf, double *lifetime_spectrum, int n_lifetime_spectrum, int convolution_start=0, int convolution_stop=-1)
 
void IMP::bff::decay_fconv_per (double *fit, double *x, double *lamp, int numexp, int start, int stop, int n_points, double period, double dt=0.05)
 Convolve lifetime spectrum with instrument response (fast convolution, high repetition rate) More...
 
void IMP::bff::decay_fconv_per_avx (double *fit, double *x, double *lamp, int numexp, int start, int stop, int n_points, double period, double dt=0.05)
 Convolve lifetime spectrum with instrument response (fast convolution, high repetition rate), AVX optimized version. More...
 
void IMP::bff::decay_fconv_per_cs (double *fit, double *x, double *lamp, int numexp, int stop, int n_points, double period, int conv_stop, double dt)
 Convolve lifetime spectrum - fast convolution, high repetition rate, with convolution stop. More...
 
void IMP::bff::decay_fconv_per_cs_time_axis (double *model, int n_model, double *time_axis, int n_time_axis, double *irf, int n_irf, double *lifetime_spectrum, int n_lifetime_spectrum, int convolution_start=0, int convolution_stop=-1, double period=100.0)
 
void IMP::bff::decay_fconv_ref (double *fit, double *x, double *lamp, int numexp, int start, int stop, double tauref, double dt=0.05)
 Convolve lifetime spectrum - fast convolution with reference compound decay. More...
 
void IMP::bff::decay_rescale (double *fit, double *decay, double *scale, int start, int stop)
 Scale model function to the data (old version). More...
 
void IMP::bff::decay_rescale_w (double *fit, double *decay, double *w_sq, double *scale, int start, int stop)
 Scale model function to the data (with weights). More...
 
void IMP::bff::decay_rescale_w_bg (double *fit, double *decay, double *e_sq, double bg, double *scale, int start, int stop)
 Scale model function to the data (with weights and background) More...
 
void IMP::bff::decay_sconv (double *fit, double *p, double *lamp, int start, int stop)
 Convolve fluorescence decay curve with irf. More...
 
void IMP::bff::decay_shift_lamp (double *lampsh, double *lamp, double ts, int n_points, double out_value=0.0)
 shift instrument response function More...
 
void IMP::bff::discriminate_small_amplitudes (double *lifetime_spectrum, int n_lifetime_spectrum, double amplitude_threshold)
 
int IMP::bff::mod_p (int a, int n)
 Compute the modulo of a number with respect to a positive integer. More...
 

Detailed Description

Decay routines (e.g. convolution, scaling, and lamp shift routines)

Authors
Thomas-Otavio Peulen Copyright 2007-2023 IMP Inventors. All rights reserved.

Definition in file DecayRoutines.h.