Changes between Version 1 and Version 2 of Ticket #789, comment 4


Ignore:
Timestamp:
Nov 27, 2016 12:21:31 PM (8 years ago)
Author:
butler
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #789, comment 4

    v1 v2  
    33* The documentation (both original IGOR and !SasView) make clear that the normalization N is the number density of **individual disks** not of stacks.  However both the IGOR code and the !SasView code normalize by the stack number density.  Thus by multiplying by the number of disks in a stack converts number density of stacks to number density of disks and indeed doing so the cylinder model is now identical to the stacked disk model (assuming core and layer have the same SLD and use a sigma of nearest neighbor spacing of zero) 
    44 
    5 * Both the IGOR and !SasView documentation state that the exponent in the S(Q) term is q*cos(alpha) but both codes use q*d*cos(alpha).  However it is not obvious what the effect of this term is since there is nothing I can thing of to compare to once we allow a non zero sigma_d (and if it is zero that term becomes a multiply by one so has no effect).  However d*cos(alpha) is just the projection of d into q,,parallel,,. Thus cos(alpha) alone makes no sense so assume the code is correct in this case and documentation is wrong. 
     5* Both the IGOR and !SasView documentation state that the exponent in the S(Q) term is q*cos(alpha) but both codes use q*d*cos(alpha).  However it is not obvious what the effect of this term is since there is nothing I can think of to compare to once we allow a non zero sigma_d (and if it is zero that term becomes a multiply by one so has no effect).  However d*cos(alpha) is just the projection of d into q,,parallel,,. Thus cos(alpha) alone makes no sense so assume the code is correct in this case and documentation is wrong. 
    66 
    77* !SasView documentation also shows sigma_d in that same exponent term to not be squared while the IGOR documentation shows it squared.  This is effectively a Debye-Waller term (exp[-q^2^ x^2^]).  And x must be d*cos(alpha)*sigma_d assuming sigma_d is given as a fraction of x and of course x should be x in the direction of q.  Hence the square shoudl be correct and moreover is another reason that the previous point should be d*cos(alpha) not just cos(alpha) Further both sets of code do use the square term.