forked from diffpy/diffpy.srfit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path__init__.py
More file actions
55 lines (50 loc) · 2.03 KB
/
__init__.py
File metadata and controls
55 lines (50 loc) · 2.03 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#!/usr/bin/env python
##############################################################################
#
# diffpy.srfit by DANSE Diffraction group
# Simon J. L. Billinge
# (c) 2008 The Trustees of Columbia University
# in the City of New York. All rights reserved.
#
# File coded by: Chris Farrow
#
# See AUTHORS.txt for a list of people who contributed.
# See LICENSE_DANSE.txt for license information.
#
##############################################################################
"""The base fitting classes for diffpy.srfit.
This package contains modules and subpackages that are used to define a
fit problem in SrFit. Unaltered, these classes will help set up a fit
problem that can be optimized within a fitting framework or with a
standalone optimizer. They provide the basic framework for defining a
forward calculator, and from that defining a fit problem with data,
constraints and restraints. The classes involved in this collaboration
can be tied to a fitting framework at various levels through
inheritance. One can create a fitting problem using the FitContribution,
Profile and FitRecipe classes.
Various code and design taken from Paul Kienzle's PARK package.
http://www.reflectometry.org/danse/park.html
"""
__all__ = [
"Calculator",
"FitContribution",
"FitHook",
"FitRecipe",
"FitResults",
"initializeRecipe",
"PlotFitHook",
"Profile",
"ProfileGenerator",
"SimpleRecipe",
"ProfileParser",
]
from diffpy.srfit.fitbase.calculator import Calculator
from diffpy.srfit.fitbase.fitcontribution import FitContribution
from diffpy.srfit.fitbase.fithook import FitHook, PlotFitHook
from diffpy.srfit.fitbase.fitrecipe import FitRecipe
from diffpy.srfit.fitbase.fitresults import FitResults, initializeRecipe
from diffpy.srfit.fitbase.profile import Profile
from diffpy.srfit.fitbase.profilegenerator import ProfileGenerator
from diffpy.srfit.fitbase.profileparser import ProfileParser
from diffpy.srfit.fitbase.simplerecipe import SimpleRecipe
# End of file