aboutsummaryrefslogtreecommitdiff
path: root/src/likelihood.h
blob: ad6585ebfeaf3ba4844f4b7b03a35691ecf5e021 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
 * likelihood.h
 *
 * Likelihood maximisation
 *
 * (c) 2006-2010 Thomas White <taw@physics.org>
 *
 * Part of CrystFEL - crystallography with a FEL
 *
 */

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#ifndef LIKELIHOOD_H
#define LIKELIHOOD_H


#include "utils.h"


extern void detwin_intensities(const double *model, double *new_pattern,
	                       const unsigned int *model_counts,
                               ReflItemList *items);

extern void scale_intensities(const double *model, double *new_pattern,
	                      const unsigned int *model_counts,
                              ReflItemList *items, double f0,
                              int f0_valid);


#endif	/* LIKELIHOOD_H */