IMP
2.2.1
The Integrative Modeling Platform
IMP Mainpage
All IMP Modules
Related Pages
Modules
Namespaces
Classes
Files
Examples
Indexes
File List
File Members
IMP
All IMP Modules
All IMP Modules and Applications
Argument Index
Class Examples
Design example
Developer Guide
Factory Index
Function Examples
Installation
Introduction
ChangeLog
Tools
Dependencies
EMageFit protocol
EMageFit scripts and tools
Integrative docking utility programs
Deprecated List
Modules
Namespaces
Classes
Files
File List
File Members
Examples
Indexes
Class Usage
Class Examples
Class Factories
Function Examples
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:
base/types.h:20
Profile.h
A class for profile storing and computation.