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

Feature/distributions part9 #18

Open
wants to merge 8 commits into
base: feature/ace-part3
Choose a base branch
from

Conversation

whaeck
Copy link
Member

@whaeck whaeck commented Aug 23, 2024

LegendreAngularDistribution now calculates its own cdf at construction time. The pdf is also normalised at construction time. A function to return the average cosine value was also added.

A tabulated average cosine table was added, with tests and python bindings.

LegendreAngularDistributions was refactored. It is now capable of returning a table of average cosine values (i.e. we can now calculate mubar for elastic scattering if Legendre expansions are used).

@whaeck whaeck requested a review from joewpeterson October 18, 2024 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant