Skip to content

add maximum quadrature function and test#3

Merged
jpmorgan98 merged 2 commits intojpmorgan98:mainfrom
munkm:max-flux
Dec 17, 2025
Merged

add maximum quadrature function and test#3
jpmorgan98 merged 2 commits intojpmorgan98:mainfrom
munkm:max-flux

Conversation

@munkm
Copy link
Copy Markdown
Contributor

@munkm munkm commented Dec 17, 2025

I thought it would be really cool to have a feature to evaluate the maximum angular flux in an array. I added a test. LMK WHAT YOU THINK!!!!!!!!!

Copy link
Copy Markdown
Owner

@jpmorgan98 jpmorgan98 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not passing tests, but very close! I like the feature and want it in the repo. Just fix the tests and I think we can get this rad PR incorporated! (ノ◕ヮ◕)ノ

Comment thread test/test_quadrature.py Outdated

x = np.random.random(10)
quad = rad.quadrature(4)
psi_m = quad.maximum(x)
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmmm you're tests didn't pass and I think's its this line which is supposed to be calculate_maximum_flux

@jpmorgan98 jpmorgan98 merged commit 3ebb0b7 into jpmorgan98:main Dec 17, 2025
6 of 7 checks passed
@munkm
Copy link
Copy Markdown
Contributor Author

munkm commented Dec 17, 2025

YEAH WHO CARES ABOUT LINTING

@jpmorgan98
Copy link
Copy Markdown
Owner

(༎ຶ︿༎ຶ)

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.

2 participants