-
-
Notifications
You must be signed in to change notification settings - Fork 422
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
Restructure/estimators #2500
Closed
wkerzendorf
wants to merge
199
commits into
tardis-sn:master
from
wkerzendorf:restructure/estimators
Closed
Restructure/estimators #2500
Changes from all commits
Commits
Show all changes
199 commits
Select commit
Hold shift + click to select a range
314cf30
restructure of geometry
wkerzendorf d353133
add radial1d boundary logic
wkerzendorf 2475551
black format
wkerzendorf e6d1697
several fixes
wkerzendorf 3c53cda
fix epsilon
wkerzendorf 6dce2b4
add testing of boundaries
wkerzendorf 1fdcea8
change the r_inner_active
wkerzendorf 56e9da5
first integration with `from_config` working
wkerzendorf f6743d7
hunting down density indexing bug
wkerzendorf b55b21d
all model tests (without csvy) pass
wkerzendorf ed978d9
more fixes
wkerzendorf cae9c19
fix of model to simulation_state
wkerzendorf d829e73
fix inner boundary packet error
wkerzendorf 9592a97
fix some leftovers
wkerzendorf 4da6869
final fix for csvy
wkerzendorf f381d2e
blackify
wkerzendorf e59741d
restructure to readers and remove some leftover code
wkerzendorf a42dd55
further cleanup
wkerzendorf 3288c6c
first start of the restructure
wkerzendorf 518a8f9
add comment about removing quantitiness
wkerzendorf c78b6de
add velocity check
wkerzendorf 006ca9d
add new abundance functions
wkerzendorf 9c680a8
remove default units
wkerzendorf 268bd23
add new matter module
wkerzendorf 6b03e93
several restructures. move decay from io to tardis/model/matter
wkerzendorf 3114413
mid restructure
wkerzendorf 217dcf2
slow progress on abundance refactor
wkerzendorf 78055b4
include effective_element_masses
wkerzendorf 73f5175
Merge remote-tracking branch 'upstream/master' into restructure/abund…
wkerzendorf b96d717
further updates
wkerzendorf 08ea21d
fix of csvy readers
wkerzendorf f0fc7c2
last fixes to custom abundance widget
wkerzendorf fe7c415
restructuring the radiation field
wkerzendorf 226fb57
some cleanup
wkerzendorf cbd025e
Merge branch 'restructure/abundance' into restructure/radiation_field
wkerzendorf afb9613
cleanup
wkerzendorf daf12a5
further cleanup
wkerzendorf f2d26a8
Merge branch 'restructure/abundance' into restructure/radiation_field
wkerzendorf 7575512
clearnup
wkerzendorf dc34343
changes
wkerzendorf 37d36e1
remove matter base.py
wkerzendorf 4a77a4a
removing matter
wkerzendorf dbd47cc
Merge remote-tracking branch 'upstream/master' into restructure/abund…
wkerzendorf f4be8c6
Fix zero division handling in normalize_trans_probs (which breaks to_…
chvogl f12775d
Use correct references_idx for levels
chvogl a9398ed
Convert probabilities to float64
chvogl d1792bf
fixed last tests
wkerzendorf c757848
Merge remote-tracking branch 'upstream/master' into restructure/abund…
wkerzendorf 1f42760
first commit for regression_data
wkerzendorf 5b1c7b2
Merge branch 'restructure/abundance' into restructure/radiation_field
wkerzendorf 398631a
add several parsers
wkerzendorf ed60c0f
add composition
wkerzendorf 8723fdf
remove isotopemassfractions
wkerzendorf 08874ca
some small fixes
wkerzendorf d89b957
Merge branch 'restructure/abundance' into restructure/radiation_field
wkerzendorf 1da7ed0
fixed w, t_rad to dilution_factor, t_radiative
wkerzendorf 9f28ecd
add setters for w, t_rad
wkerzendorf 0d85540
several fixes for instantiating the right t_rads.
wkerzendorf 7161791
add the from_config atom_data
wkerzendorf 4f4aad6
Merge remote-tracking branch 'upstream/master' into restructure/abund…
wkerzendorf f65a2d7
fixing model.ipynb
wkerzendorf cbfe685
Merge branch 'restructure/abundance' into restructure/radiation_field
wkerzendorf b961734
fix some more tests
wkerzendorf 63a86fb
start of montecarlo restructure
wkerzendorf 1d46d45
large scale changes
wkerzendorf 9a21714
further disentangling state and solver
wkerzendorf 1c38607
fix tests
wkerzendorf c99e9d4
fix some of the issues wdigets
wkerzendorf 4c0b49a
assert mass fractions positive.
wkerzendorf 7474e66
update estimators
wkerzendorf 6735fad
add packet collection
wkerzendorf 2135c5a
move spectrum to mct_state
wkerzendorf 8e0de5c
add radiation_field_state
wkerzendorf ba9cdf6
Merge branch 'restructure/radiation_field' into restructure/transport…
wkerzendorf 8fd5633
Refactor packet initialization in
wkerzendorf 305e89d
Update model_nparray_attrs in test_base.py and fix
wkerzendorf de63d0f
Fix temperature assertion in
wkerzendorf 0f4608a
Fix Integrator
wkerzendorf 098cc76
Fix SDEC plot for MCTState
wkerzendorf 455a820
Fix variable names in transport module
wkerzendorf 9de8b34
Refactor the to_hdf code.
wkerzendorf 5159c30
Refactor Monte Carlo transport solver
wkerzendorf fcd34bb
Fix isotope mass fraction typo and t_radiatve duplicate definition
wkerzendorf 1e3a035
Document remove functionality for effective element masses
wkerzendorf af1f114
Fix variable name in
wkerzendorf 203bae0
Refactor test names and variable names in
wkerzendorf 56aaa8c
Merge remote-tracking branch 'upstream/master' into restructure/abund…
wkerzendorf 1f419b6
restructuring montecarlo state
wkerzendorf 2a50667
Refactor gamma ray simulation setup and test
wkerzendorf b17b7c7
fix gamma ray tests
wkerzendorf a479cf6
Add model_isotope_time_0 property to abundances
wkerzendorf 6d64b2d
Add test for montecarlo main loop with vpacket
wkerzendorf b92158d
Refactor config_reader and config_validator
wkerzendorf e56ddcc
Fix model_isotope_time_0 property in
wkerzendorf 29fa091
Refactor simulation module to use pathlib
wkerzendorf 8dff14e
remove bad comment and refactor with ruff
wkerzendorf fcb5dba
Fix variable name in test_simulation_state_mass()
wkerzendorf 7da18f3
Fix unit conversion in calculate_cell_masses
wkerzendorf 1bb7266
Fix logger debug message in CSV reader and update
wkerzendorf 821f4ce
black formatting
wkerzendorf 2257093
Refactor code to use composition variable in
wkerzendorf e105e71
Merge remote-tracking branch 'upstream/master' into restructure/abund…
wkerzendorf 75840d3
Refactor imports in atom_web_download.py and
wkerzendorf 59d5eff
fix for documentation not builiding
wkerzendorf 1f65771
add fix for model_isotope_time_0
wkerzendorf dd6ba4f
fix grid test
wkerzendorf 5391968
restructure the grid
wkerzendorf 9706437
final change
wkerzendorf 512d737
Merge branch 'restructure/abundance' into restructure/radiation_field
wkerzendorf c6d3a59
add stuff
wkerzendorf d9a191c
add vpacket_log
wkerzendorf ee4e6c6
transfer over to VPacketCollection constructor
wkerzendorf b31561e
Refactor model_reader.py and shell_info.py
wkerzendorf f438ec3
Update damping constants and variable names
wkerzendorf e7acaac
Refactor vpacket tracking in montecarlo_radial1d
wkerzendorf ef8cf30
fix w in several places in tardis
wkerzendorf 361e0b7
slowly fixing radiation_field changes
wkerzendorf bfcf19a
fixing montecarlo tests
wkerzendorf d5cb35d
Merge remote-tracking branch 'origin/restructure/radiation_field' int…
wkerzendorf ca4b267
slowly fixing vpacket_tracker
wkerzendorf 6244535
last fix
wkerzendorf 3c8f3da
change hdf from model to simulation_state
wkerzendorf 815b0d8
fixing model->simulation-state
wkerzendorf 5925f6e
Merge remote-tracking branch 'upstream/master' into restructure/radia…
wkerzendorf 81ebd21
Fix model_reader.py imports and formatting issues
wkerzendorf e24f1fa
Refactor variable names for clarity and
wkerzendorf 50d3ec3
Update variable names in model.ipynb
wkerzendorf 566d279
Update variable name for average temperature
wkerzendorf f068e64
Merge branch 'restructure/radiation_field' into restructure/transport…
wkerzendorf 86a4974
Fix file paths in test_grid.py, test_base.py,
wkerzendorf 145a9fc
Fix transport dictionary comparison
wkerzendorf 871b849
Merge branch 'restructure/radiation_field' into tests/regression_data
wkerzendorf eb0e055
Implement regression data configurations
wkerzendorf d0c26dd
Refactor snapshot fixtures and add regression data
wkerzendorf 67236a4
Update to new testing framework
wkerzendorf 5e04422
Merge remote-tracking branch 'origin/restructure/radiation_field' int…
wkerzendorf e18bfe0
Refactor imports and fixtures in conftest.py and
wkerzendorf a68a006
Make regression-data optional
wkerzendorf f219356
Fix regression data synchronization in plasma
wkerzendorf a949f49
Refactor variable names in model reader and
wkerzendorf 56a948d
Refactor store_model_to_hdf to
wkerzendorf 2e6caac
Refactor HDF file handling and model reader
wkerzendorf 1cc8004
add docstr
wkerzendorf e5dedcc
Merge branch 'restructure/radiation_field' into tests/regression_data
wkerzendorf 537e7d3
Merge branch 'tests/regression_data' into restructure/transport_solver
wkerzendorf 051a62b
Merge branch 'restructure/transport_solver' into restructure/separate…
wkerzendorf 0044907
Merge remote-tracking branch 'upstream/master' into tests/regression_…
wkerzendorf f1151c3
Remove syrupy_extensions.py
wkerzendorf c85d64e
Refactor code and remove unused imports and
wkerzendorf dc1cffe
Merge remote-tracking branch 'upstream/master' into restructure/trans…
wkerzendorf 5a902a4
Fix test_base and test_simulation
wkerzendorf a7c1c1e
Merge branch 'restructure/transport_solver' into restructure/separate…
wkerzendorf b0e6eac
setting up regression with github actions
wkerzendorf 6cc25b7
Update LFS cache IDs for refdata and regression
wkerzendorf ccf0a99
Fix test_montecarlo_radial1d function
wkerzendorf 71f1317
Update sync_hdf_store method in RegressionData class
wkerzendorf 0a1ae4a
Refactor test_base.py for improved accuracy and precision
wkerzendorf 74cf7a2
update docstrings
wkerzendorf 173b0f0
Merge branch 'tests/regression_data' into restructure/transport_solver
wkerzendorf 57d4055
Refactor transport state access in test_base.py
wkerzendorf fb09b33
Fix warnings and add HDF output in sdec_plot.ipynb and cleanup regres…
wkerzendorf 3e86d61
Update demo.hdf file
wkerzendorf c9c9ee0
Fix negative values in last_interaction_types
wkerzendorf 69e85cf
Update URL for atomic data repository
wkerzendorf 8c7759a
Refactor code for improved readability and maintainability
wkerzendorf a0a23a0
Refactor code to remove unnecessary array conversion
wkerzendorf 5ff5432
Refactor code to remove unnecessary conversion to numpy array in test…
wkerzendorf 16afba3
Merge branch 'tests/regression_data' into restructure/transport_solver
wkerzendorf e541eb2
Merge branch 'restructure/transport_solver' into restructure/separate…
wkerzendorf 829d609
Refactor vpacket tracking in montecarlo_main_loop
wkerzendorf a49c259
Update packet_collection and vpacket_tracker
wkerzendorf 45eb023
fixup of code
wkerzendorf 0c36b9b
Add packet functionality to VPacketCollection
wkerzendorf c1137e0
ruffify test_sdec_plot
wkerzendorf 2261b1b
Update estimator_statistics module
wkerzendorf 70a2dc5
Add bound-free estimator utility functions and classes
wkerzendorf 458ee16
Work ongoing
wkerzendorf 77897f4
ongoing work
wkerzendorf 2565b9e
ongoing work
wkerzendorf cc3f04a
Merge remote-tracking branch 'upstream/pr/2469' into restructure/esti…
wkerzendorf f9cddad
Update code in various files
wkerzendorf de6ccc8
Fix photo ion calculation and radiation field intensity calculation
wkerzendorf d233bfd
Co-authored-by: Christian Vogl <cvogl@mpa-garching.mpg.de>
wkerzendorf af9c4a2
Delete unused files and workspace configuration
wkerzendorf 214f9e5
Add Visual Studio Code workspace file to .gitignore
wkerzendorf 97683a8
Remove unused import in parse_input.py
wkerzendorf 0cceb79
Update VPACKET_TAU_RUSSIAN constant
wkerzendorf ca18310
Refactor montecarlo_main_loop and FormalIntegrator classes
wkerzendorf 984a1a2
Merge branch 'restructure/separate_transport_state' into restructure/…
wkerzendorf 813376c
Fix import statement in base.py
wkerzendorf c7581b8
Merge branch 'restructure/separate_transport_state' into restructure/…
wkerzendorf 6b4b490
Add import statement for radfield_mc_estimators
wkerzendorf fb9c8cd
add new solvers
wkerzendorf 0064c8c
Merge branch 'master' into pr/2500
andrewfullard 1235772
Fix most tests
andrewfullard c32312a
Remove unused util
andrewfullard aa15361
Fixes downbranch tests
andrewfullard 105cfbe
Fix plasma continuum test name
andrewfullard b2a384f
Fix excess quantity in RPacket definition
andrewfullard File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,3 +71,6 @@ pip-wheel-metadata/ | |
|
||
# Mac OSX | ||
.DS_Store | ||
|
||
# Visual Studio Code | ||
*.code-workspace |
Submodule astropy_helpers
added at
9f82aa
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Why is this transpose happening here?
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 the number of nues vs the number of shells - what comes out is a 2D frame