source: sasview/park-1.2.1/park/__init__.py @ d83549c

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since d83549c was 3570545, checked in by Mathieu Doucet <doucetm@…>, 13 years ago

Adding park Part 2

  • Property mode set to 100644
File size: 2.1 KB
Line 
1# This program is public domain
2"""
3PARK fitting service.
4
5The PARK fitting service is a set of python packages to support
6fitting in datasets.  Using common python infrastructure such
7as scipy optimizers, numpy arrays, and matplotlib plotting, park
8allows you to define models, associate them with datasets and
9simultaneously fit them.  Park provides a simple job queue to
10manage multiple fits using separate processes or running across
11the network on separate machines.
12
13Installation
14============
15
16The latest version of Park is available from
17http://www.reflectometry.org/danse/park.
18
19
20Currently this is supplied as source from a zip file.  You can
21also retrieve the latest version from svn::
22
23    svn co svn://danse.us/park/branches/park-1.2
24
25If you are installing from source, you will need a python
26environment with numpy and scipy.  For the GUI version, you
27will also need matplotlib and wx.
28
29You will need a C compiler to build the resolution convolution
30function.  On Windows this may require installing MinGW and
31adding distutils.cfg to your distutils directory::
32
33    [build]
34    compiler = mingw
35
36Once you have the required supporting packages, use the following
37to build and install::
38
39    python setup.py install
40   
41Usage
42=====
43
44To get started with park, you will need to first define the
45models that you are using.  These can be very basic models,
46listing all possible fitting parameters.  When setting up the
47fit later, you will be able to combine models, using
48parameter expressions to relate the values in one model with
49those in another.  See `park.model` for details.
50
51Once your models are constructed you can use them in a fit.
52See `park.fit` for details.
53
54Important classes and functions:
55`park.model.Model`, `park.parameter.ParameterSet`, `park.fit.Fit`
56
57:group models: model, assembly, parameter, data
58:group examples: peaks
59:group optimizer: fit, fitresult, fitmc, simplex
60:group support: expression, deps, version, setup, serial
61:group server: fitservice
62"""
63
64#from fitservice import *
65from parameter import *
66from data import *
67from model import *
68from assembly import *
69import fit
70
Note: See TracBrowser for help on using the repository browser.