Skip to content

Fix source intensity normalization - #21

Merged
psheehan merged 1 commit into
mainfrom
source_intensity_fix
Jul 14, 2026
Merged

Fix source intensity normalization#21
psheehan merged 1 commit into
mainfrom
source_intensity_fix

Conversation

@psheehan

Copy link
Copy Markdown
Owner

PR #19 accidentally removed the normalization of rays emitted by a source for raytracing by nrays, which led to an increase in the max pixel values in images made. This PR reintroduces that normalization and also adds a test to help catch problems like this in the future.

…ng sources, and add a test to catch differences in the max pixel value in the image created.
@psheehan
psheehan merged commit 4750396 into main Jul 14, 2026
7 of 8 checks passed
@psheehan
psheehan deleted the source_intensity_fix branch July 14, 2026 18:43
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