Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[C2E] - Calculation of the moments of S(Q,w) #6146

Closed
PeterParker opened this issue May 10, 2012 · 1 comment
Closed

[C2E] - Calculation of the moments of S(Q,w) #6146

PeterParker opened this issue May 10, 2012 · 1 comment
Labels
Indirect/Inelastic Issues and pull requests related to indirect or inelastic
Milestone

Comments

@PeterParker
Copy link
Contributor

New request from Spencer:

Addition to C2E - the calculation of the moments of S(Q,w) i.e.

  • Zero-th moment: M0(Q) =Integral_over_w[S(Q,w)]
  • n-th moment: Mn(Q) =Integral_over_w[w^n^S(Q,w)]/M0(Q) for n=1 to 4.

Currently have a Python script to do it but it would be more efficient as an Algorithm. This routine would be used by both Indirect & Direct.As a generic algorithm it would do

  • Zero-th moment: M0 =Integral_over_x[y]

  • n-th moment: Mn =Integral_over_x[x^n^y]/M0 for n=1 to 4.
    There is use for it elsewhere.

    Keywords: C2E

@PeterParker
Copy link
Contributor Author

This issue was originally trac ticket 5300

@PeterParker PeterParker added the Indirect/Inelastic Issues and pull requests related to indirect or inelastic label Jun 3, 2015
@PeterParker PeterParker added this to the Release 3.2 milestone Jun 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Indirect/Inelastic Issues and pull requests related to indirect or inelastic
Projects
None yet
Development

No branches or pull requests

1 participant