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

Add individual intensities #212

Open
wants to merge 37 commits into
base: main
Choose a base branch
from

Conversation

jvshields
Copy link
Contributor

This PR is built on spherical geometry because the inspection of individual intensity rays is mainly used for testing the difference between plane parallel and spherical geometry. Spherical geometry should be merged first.

@jvshields jvshields marked this pull request as ready for review October 23, 2024 14:25
@jvshields jvshields mentioned this pull request Nov 4, 2024
# Then add each of the matched patterns as a key:value pair to the metadata dict.
metadata_re = [re.compile(re_str[0]) for re_str in METADATA_RE_STR]
metadata = {}
METADATA_SPHERICAL_RE_STR = [
Copy link
Contributor

Choose a reason for hiding this comment

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

This is so long it would probably be best in its own file and imported

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have done this.

@andrewfullard
Copy link
Contributor

The new and modified functions could really use tests

@jvshields
Copy link
Contributor Author

Add a plot to this PR to show it's working

@jvshields
Copy link
Contributor Author

jvshields commented Nov 4, 2024

I want to change this PR to make the simulation only keep track of each individual ray when you request the simulation to return the radiation field. As is, we end up using a ton of memory on all of the rays.

Edit: Did this

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