parratt.h File Reference


Detailed Description

This file provides all the needed includes, function prototypes, and the Parratt struct.


Data Structures

struct  _layer
 This struct holds layer-specific information. More...
struct  _model
 This struct holds the adjustable model parameters. More...
struct  _other
 This struct holds static, model parameters. More...
struct  _data
 This struct holds the data to be fit. More...
struct  _misc
 This struct holds miscellaneous data. More...
struct  _parratt
 The container struct for all data and parameters. More...
struct  _method
 This struct allows the choice of the fit method. More...

Defines

#define MAX_ITER   100
 Maximum number of fitting iterations.
#define MAX_PARAM   1800
 Maximum number of parameters.
#define MAX_LAYER   300
#define WEIGHT_NONE   0
#define WEIGHT_R   1
#define WEIGHT_SQRT   2
#define WEIGHT_ERR   3
#define BULK   0
#define SUBS   1
#define REPT   2
#define LAYR   3
#define CONSTANT   0
#define RELATIVE   1
#define SINGLE   0
#define ARRAY   1
#define PARRATT   0
#define POLARIZED   1
#define POLARIZED_NONE   2
#define POLARIZED_UP   3
#define POLARIZED_DOWN   4

Typedefs

typedef _parratt Parratt

Variables

_method fit_method


Define Documentation

#define WEIGHT_NONE   0

$\sigma$ = 1

#define WEIGHT_R   1

$\sigma$ = $y$

#define WEIGHT_SQRT   2

$\sigma$ = $\sqrt{y}$

#define WEIGHT_ERR   3

$\sigma$ = data file

#define BULK   0

Layer type BULK

#define SUBS   1

Layer type SUBSTRATE

#define REPT   2

Layer type REPEAT

#define LAYR   3

Layer type LAYER

#define CONSTANT   0

Resolution: $\delta q = \mathrm{const.}$

#define RELATIVE   1

Resolution: $\delta q/q = \mathrm{const.}$

#define SINGLE   0

Resolution should be calculated with a single value for all q

#define ARRAY   1

Resolution should be calculated with an array of values


Variable Documentation

struct _method fit_method

Global _method struct


Generated on Wed Mar 14 13:24:56 2007 for Parratt by  doxygen 1.4.7