Changeset ac7be54 in sasview for src/sas/models/BEPolyelectrolyte.py
- Timestamp:
- May 8, 2015 2:27:08 PM (9 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 5e880fe1
- Parents:
- c22c5e3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/models/BEPolyelectrolyte.py
r79492222 rac7be54 1 """ 2 Provide F(x) = K*1/(4*pi*Lb*(alpha)^(2))*(q^(2)+k2)/(1+(r02)^(2))*(q^(2)+k2)\ 3 *(q^(2)-(12*h*C/b^(2))) 1 """ 4 2 BEPolyelectrolyte as a BaseComponent model 5 3 """ … … 12 10 Class that evaluates a BEPolyelectrolyte. 13 11 14 F(x) = K *1/(4*pi*Lb*(alpha)^(2))*(q^(2)+k2)/(1+(r02)^(2))*(q^(2)+k2)\15 *(q^(2)-(12*h*C/b^(2)))12 F(x) = K/(4 pi Lb (alpha)^(2)) (q^(2)+k2)/(1+(r02)^(2)) (q^(2)+k2)\ 13 (q^(2)-(12 h C/b^(2))) 16 14 17 The model has Eight parameters: 18 K = Constrast factor of the polymer 19 Lb = Bjerrum length 20 H = virial parameter 21 B = monomer length 22 Cs = Concentration of monovalent salt 23 alpha = ionazation degree 15 The model has Eight parameters:: 16 17 K = Constrast factor of the polymer 18 Lb = Bjerrum length 19 H = virial parameter 20 B = monomer length 21 Cs = Concentration of monovalent salt 22 alpha = ionazation degree 24 23 C = polymer molar concentration 25 24 bkd = background … … 75 74 """ 76 75 Evaluate 77 F(x) = K *1/(4*pi*Lb*(alpha)^(2))*(q^(2)+k2)/(1+(r02)^(2))78 *(q^(2)+k2)*(q^(2)-(12*h*C/b^(2)))76 F(x) = K 1/(4 pi Lb (alpha)^(2)) (q^(2)+k2)/(1+(r02)^(2)) 77 (q^(2)+k2) (q^(2)-(12 h C/b^(2))) 79 78 80 79 has 3 internal parameters : 81 The inverse Debye Length: K2 = 4 *pi*Lb*(2*Cs+alpha*C)82 r02 =1/alpha/Ca^(0.5) *(B/(48*pi*Lb)^(0.5))83 Ca = C*6.022136e-480 The inverse Debye Length: K2 = 4 pi Lb (2 Cs+alpha C) 81 r02 =1/alpha/Ca^(0.5) (B/(48 pi Lb)^(0.5)) 82 Ca = 6.022136e-4 C 84 83 """ 85 84 Ca = self.params['c'] * 6.022136e-4
Note: See TracChangeset
for help on using the changeset viewer.