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 0cbfaeb was
e369627,
checked in by Jae Cho <jhjcho@…>, 14 years ago
|
removed some c functions
|
-
Property mode set to
100644
|
File size:
1.3 KB
|
Line | |
---|
1 | #if !defined(polygausscoil_h) |
---|
2 | #define polygausscoil_h |
---|
3 | |
---|
4 | /** |
---|
5 | * Structure definition for sphere parameters |
---|
6 | */ |
---|
7 | //[PYTHONCLASS] = Poly_GaussCoil |
---|
8 | //[DISP_PARAMS] = rg |
---|
9 | //[DESCRIPTION] =<text>I(q)=(scale)*2*[(1+U*x)^(-1/U)+x-1]/[(1+U)*x^2] + background |
---|
10 | // where x = [rg^2*q^2] |
---|
11 | // and the polydispersity is |
---|
12 | // U = [M_w/M_n]-1. |
---|
13 | // scale = scale factor * volume fraction |
---|
14 | // rg = radius of gyration |
---|
15 | // poly_m = polydispersity of molecular weight |
---|
16 | // background = incoherent background |
---|
17 | // </text> |
---|
18 | //[FIXED]= |
---|
19 | //[ORIENTATION_PARAMS]= <text> </text> |
---|
20 | |
---|
21 | typedef struct { |
---|
22 | /// Scale factor |
---|
23 | // [DEFAULT]=scale= 1.0 |
---|
24 | double scale; |
---|
25 | |
---|
26 | /// Radius of gyration [A] |
---|
27 | // [DEFAULT]=rg=60.0 [A] |
---|
28 | double rg; |
---|
29 | |
---|
30 | /// polydispersity of molecular weight |
---|
31 | // [DEFAULT]=poly_m= 2.0 [Mw/Mn] |
---|
32 | double poly_m; |
---|
33 | |
---|
34 | /// Incoherent Background [1/cm] |
---|
35 | // [DEFAULT]=background=0.001 [1/cm] |
---|
36 | double background; |
---|
37 | } PolyGaussCoilParameters; |
---|
38 | |
---|
39 | |
---|
40 | |
---|
41 | /// 1D scattering function |
---|
42 | //double polygausscoil_analytical_1D(PolyGaussCoilParameters *pars, double q); |
---|
43 | |
---|
44 | /// 2D scattering function |
---|
45 | //double polygausscoil_analytical_2D(PolyGaussCoilParameters *pars, double q, double phi); |
---|
46 | //double polygausscoil_analytical_2DXY(PolyGaussCoilParameters *pars, double qx, double qy); |
---|
47 | |
---|
48 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.