[27a0771] | 1 | /* |
---|
| 2 | TODO: Add 2D model |
---|
| 3 | */ |
---|
| 4 | |
---|
| 5 | #if !defined(lamellarPS_HG_h) |
---|
| 6 | #define lamellarPS_HG_h |
---|
| 7 | /** Structure definition for concentrated lamellar form factor parameters |
---|
| 8 | * [PYTHONCLASS] = LamellarPSHGModel |
---|
[96b59384] | 9 | * [DISP_PARAMS] = deltaT,deltaH,spacing |
---|
| 10 | [DESCRIPTION] = <text>[Concentrated Lamellar (head+tail) Form Factor]: Calculates the |
---|
| 11 | intensity from a lyotropic lamellar phase. |
---|
| 12 | The intensity (form factor and structure factor) |
---|
| 13 | calculated is for lamellae of two-layer scattering |
---|
| 14 | length density that are randomly distributed in |
---|
| 15 | solution (a powder average). The scattering |
---|
| 16 | length density of the tail region, headgroup |
---|
| 17 | region, and solvent are taken to be different. |
---|
| 18 | The model can also be applied to large, |
---|
| 19 | multi-lamellar vesicles. |
---|
| 20 | No resolution smeared version is included |
---|
| 21 | in the structure factor of this model. |
---|
| 22 | *Parameters: spacing = repeat spacing, |
---|
| 23 | deltaT = tail length, |
---|
| 24 | deltaH = headgroup thickness, |
---|
| 25 | n_plates = # of Lamellar plates |
---|
| 26 | caille = Caille parameter (<0.8 or <1) |
---|
| 27 | background = incoherent bgd |
---|
| 28 | scale = scale factor ... |
---|
| 29 | </text> |
---|
| 30 | [FIXED]= deltaT.width;deltaH.width;spacing.width |
---|
| 31 | [ORIENTATION_PARAMS]= |
---|
[27a0771] | 32 | |
---|
| 33 | **/ |
---|
| 34 | typedef struct { |
---|
| 35 | /// Scale factor |
---|
| 36 | // [DEFAULT]=scale=1.0 |
---|
| 37 | double scale; |
---|
| 38 | /// repeat spacing of the lamellar [A] |
---|
| 39 | // [DEFAULT]=spacing=40 [A] |
---|
| 40 | double spacing; |
---|
| 41 | /// tail thickness [A] |
---|
| 42 | // [DEFAULT]=deltaT=10 [A] |
---|
| 43 | double deltaT; |
---|
| 44 | /// head thickness [A] |
---|
| 45 | // [DEFAULT]=deltaH=2.0 [A] |
---|
| 46 | double deltaH; |
---|
[27972c1d] | 47 | /// scattering density length of tails [1/A^(2)] |
---|
| 48 | // [DEFAULT]=sld_tail=0.4e-6 [1/A^(2)] |
---|
[27a0771] | 49 | double sld_tail; |
---|
[27972c1d] | 50 | /// scattering density length of head [1/A^(2)] |
---|
| 51 | // [DEFAULT]=sld_head=2e-6 [1/A^(2)] |
---|
[27a0771] | 52 | double sld_head; |
---|
[27972c1d] | 53 | /// scattering density length of solvent [1/A^(2)] |
---|
| 54 | // [DEFAULT]=sld_solvent=6e-6 [1/A^(2)] |
---|
[27a0771] | 55 | double sld_solvent; |
---|
| 56 | /// Number of lamellar plates |
---|
| 57 | // [DEFAULT]=n_plates=30 |
---|
| 58 | double n_plates; |
---|
| 59 | /// caille parameters |
---|
| 60 | // [DEFAULT]=caille=0.001 |
---|
| 61 | double caille; |
---|
[96b59384] | 62 | /// Incoherent Background [1/cm] |
---|
[27a0771] | 63 | // [DEFAULT]=background=0.001 [1/cm] |
---|
| 64 | double background; |
---|
[96b59384] | 65 | |
---|
[27a0771] | 66 | } LamellarPSHGParameters; |
---|
| 67 | |
---|
| 68 | |
---|
| 69 | |
---|
| 70 | /// 1D scattering function |
---|
[2399b2a] | 71 | //double lamellarPS_HG_analytical_1D(LamellarPSHGParameters *pars, double q); |
---|
[27a0771] | 72 | |
---|
| 73 | /// 2D scattering function |
---|
[2399b2a] | 74 | //double lamellarPS_HG_analytical_2D(LamellarPSHGParameters *pars, double q, double phi); |
---|
| 75 | //double lamellarPS_HG_analytical_2DXY(LamellarPSHGParameters *pars, double qx, double qy); |
---|
[27a0771] | 76 | |
---|
| 77 | #endif |
---|