Changes between Version 1 and Version 2 of Ticket #1073, comment 2
- Timestamp:
- Mar 4, 2018 12:27:09 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1073, comment 2
v1 v2 1 1 From Mike Hore: 2 2 3 * The reason that gammainc is scaled by gamma in the SasView function is that gammainc in scipy is normalized by gamma, so that is 100% correct to do.3 * The reason that gammainc is scaled by gamma in the !SasView function is that gammainc in scipy is normalized by gamma, so that is 100% correct to do. 4 4 5 * Looking at the function in the version of SasView (4.1.2) that I have installed currently, the issue is in the following block of code:5 * Looking at the function in the version of !SasView (4.1.2) that I have installed currently, the issue is in the following block of code: 6 6 {{{ 7 7 usub = (q*rg)**2 * (2.0/porod_exp + 1.0) * (2.0/porod_exp + 2.0)/6.0 … … 27 27 A second email after he sent the above: 28 28 29 * I see where the disagreement is from. Boualem’s paper from 1993 has the form that’s currently in SasView, but more recent publications like https://www.ncnr.nist.gov/staff/hammouda/publications/2017_hammouda_kim_j_mol_liq.pdf and mine https://www.ncnr.nist.gov/staff/hammouda/publications/2013_hore_et_al_macromolecules.pdf have the form that I’m talking about. So I guess it’s a matter of which is correct!29 * I see where the disagreement is from. Boualem’s paper from 1993 has the form that’s currently in !SasView, but more recent publications like https://www.ncnr.nist.gov/staff/hammouda/publications/2017_hammouda_kim_j_mol_liq.pdf and mine https://www.ncnr.nist.gov/staff/hammouda/publications/2013_hore_et_al_macromolecules.pdf have the form that I’m talking about. So I guess it’s a matter of which is correct!