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

integrate radiation field #2365

Merged
merged 9 commits into from
Jul 27, 2023

Conversation

wkerzendorf
Copy link
Member

New integration of radiation field

wkerzendorf and others added 2 commits July 20, 2023 14:44
Co-authored-by: Alexander Grunewald <AlexanderGrunewald@users.noreply.github.com>
Co-authored-by: Andreas Flörs <afloers@users.noreply.github.com>
Co-authored-by: Jack O'Brien <Rodot-@users.noreply.github.com>
Co-authored-by: Andrew Fullard <andrewgfullard@gmail.com>
@codecov
Copy link

codecov bot commented Jul 20, 2023

Codecov Report

Merging #2365 (18cf741) into master (11019a4) will increase coverage by 0.04%.
Report is 2 commits behind head on master.
The diff coverage is 88.88%.

❗ Current head 18cf741 differs from pull request most recent head 5623d24. Consider uploading reports for the commit 5623d24 to get more accurate results

@@            Coverage Diff             @@
##           master    #2365      +/-   ##
==========================================
+ Coverage   70.53%   70.57%   +0.04%     
==========================================
  Files         138      139       +1     
  Lines       12866    12875       +9     
==========================================
+ Hits         9075     9087      +12     
+ Misses       3791     3788       -3     
Files Changed Coverage Δ
tardis/model/base.py 90.81% <81.25%> (+0.73%) ⬆️
tardis/radiation_field/base.py 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@wkerzendorf wkerzendorf force-pushed the integrate_radiation_field branch from 6e3ae36 to a76c5c4 Compare July 21, 2023 15:54
from tardis.montecarlo.montecarlo_numba.numba_interface import OpacityState


class RadiationField:
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we want to be clear about this being a radiationfieldstate?

Copy link
Member Author

Choose a reason for hiding this comment

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

sure

tardis/radiation_field/base.py Show resolved Hide resolved
@wkerzendorf
Copy link
Member Author

@andrewfullard I've included your suggestions.

andrewfullard
andrewfullard previously approved these changes Jul 25, 2023
@andrewfullard
Copy link
Contributor

Looks like black and tests are needed

@wkerzendorf wkerzendorf force-pushed the integrate_radiation_field branch from aff650a to 5623d24 Compare July 25, 2023 22:49
@andrewfullard andrewfullard merged commit f0f26bd into tardis-sn:master Jul 27, 2023
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