IMP
2.3.1
The Integrative Modeling Platform
IMP Mainpage
Modules
Applications
Related Pages
Groups
Classes
Files
Examples
Indexes
File List
File Members
ChiScore.h
Go to the documentation of this file.
1
/**
2
* \file IMP/saxs/ChiScore.h \brief Basic chi score implementation
3
*
4
* Copyright 2007-2014 IMP Inventors. All rights reserved.
5
*
6
*/
7
8
#ifndef IMPSAXS_CHI_SCORE_H
9
#define IMPSAXS_CHI_SCORE_H
10
11
#include <IMP/saxs/saxs_config.h>
12
#include "
Profile.h
"
13
14
IMPSAXS_BEGIN_NAMESPACE
15
16
/**
17
Basic implementation of Chi scoring
18
*/
19
class
IMPSAXSEXPORT
ChiScore
{
20
public
:
21
Float
compute_score(
const
Profile
* exp_profile,
const
Profile
* model_profile,
22
bool
use_offset =
false
)
const
;
23
24
Float
compute_score(
const
Profile
* exp_profile,
const
Profile
* model_profile,
25
Float
min_q,
Float
max_q)
const
;
26
27
Float
compute_scale_factor(
const
Profile
* exp_profile,
28
const
Profile
* model_profile,
29
Float
offset = 0.0)
const
;
30
31
Float
compute_offset(
const
Profile
* exp_profile,
32
const
Profile
* model_profile)
const
;
33
};
34
35
IMPSAXS_END_NAMESPACE
36
37
#endif
/* IMPSAXS_CHI_SCORE_H */
IMP::saxs::ChiScore
Definition:
ChiScore.h:19
IMP::saxs::Profile
Definition:
Profile.h:31
IMP::Float
double Float
Basic floating-point value (could be float, double...)
Definition:
types.h:20
Profile.h
A class for profile storing and computation.