-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
base: main
Are you sure you want to change the base?
Conversation
… legendre polynomial
704255f
to
e894d63
Compare
stardis/io/model/marcs.py
Outdated
# 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 = [ |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have done this.
The new and modified functions could really use tests |
Add a plot to this PR to show it's working |
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 |
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.