/* * likelihood.h * * Likelihood maximisation * * (c) 2006-2010 Thomas White * * Part of CrystFEL - crystallography with a FEL * */ #ifdef HAVE_CONFIG_H #include #endif #ifndef LIKELIHOOD_H #define LIKELIHOOD_H extern void detwin_intensities(const double *model, double *new_pattern, const unsigned int *model_counts, unsigned int *new_counts); extern void scale_intensities(const double *model, double *new_pattern, const unsigned int *model_counts, unsigned int *new_counts, double f0, int f0_valid); #endif /* LIKELIHOOD_H */