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 634f1cf was
f71287f4,
checked in by Mathieu Doucet <doucetm@…>, 17 years ago
|
Allow user to set q_min/q_max
|
-
Property mode set to
100644
|
File size:
1.0 KB
|
Line | |
---|
1 | #if !defined(invertor_h) |
---|
2 | #define invertor_h |
---|
3 | |
---|
4 | |
---|
5 | typedef struct { |
---|
6 | double d_max; |
---|
7 | double *x; |
---|
8 | double *y; |
---|
9 | double *err; |
---|
10 | int npoints; |
---|
11 | int ny; |
---|
12 | int nerr; |
---|
13 | double alpha; |
---|
14 | double q_min; |
---|
15 | double q_max; |
---|
16 | } Invertor_params; |
---|
17 | |
---|
18 | void invertor_dealloc(Invertor_params *pars); |
---|
19 | |
---|
20 | void invertor_init(Invertor_params *pars); |
---|
21 | |
---|
22 | |
---|
23 | double pr_sphere(double R, double r); |
---|
24 | double ortho(double d_max, int n, double r); |
---|
25 | double ortho_transformed(double d_max, int n, double q); |
---|
26 | double ortho_derived(double d_max, int n, double r); |
---|
27 | double iq(double *c, double d_max, int n_c, double q); |
---|
28 | double pr(double *c, double d_max, int n_c, double r); |
---|
29 | double dprdr(double *pars, double d_max, int n_c, double r); |
---|
30 | double reg_term(double *pars, double d_max, int n_c, int nslice); |
---|
31 | double int_p2(double *pars, double d_max, int n_c, int nslice); |
---|
32 | void pr_err(double *pars, double *err, double d_max, int n_c, |
---|
33 | double r, double *pr_value, double *pr_value_err); |
---|
34 | int npeaks(double *pars, double d_max, int n_c, int nslice); |
---|
35 | |
---|
36 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.