-
-
Notifications
You must be signed in to change notification settings - Fork 409
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Estimators restructure cleanup (#2512)
* Fix plasma continuum test name * Fix zero division handling in normalize_trans_probs (which breaks to_hdf) * Use correct references_idx for levels * Convert probabilities to float64 * Fixes downbranch tests * Add bound-free estimator utility functions and classes * Work ongoing Co-authored-by: Christian Vogl <[email protected]> * ongoing work * ongoing work * Update code in various files * Fix photo ion calculation and radiation field intensity calculation Co-authored-by: Christian Vogl <[email protected]> * Co-authored-by: Christian Vogl <[email protected]> * Delete unused files and workspace configuration * Add Visual Studio Code workspace file to .gitignore * Add import statement for radfield_mc_estimators * Fix most tests * add new solvers * Reference fix and unit fix * Skip segfaulting tests (!) --------- Co-authored-by: Christian Vogl <[email protected]> Co-authored-by: Wolfgang Kerzendorf <[email protected]>
- Loading branch information
1 parent
17c5da9
commit 234c586
Showing
39 changed files
with
1,036 additions
and
184 deletions.
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
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import pytest | ||
|
||
from tardis.io.configuration.config_reader import Configuration | ||
|
||
|
||
@pytest.fixture(scope="function") | ||
def continuum_config( | ||
tardis_config_verysimple_nlte, | ||
): | ||
continuum_config = Configuration.from_config_dict( | ||
tardis_config_verysimple_nlte | ||
) | ||
continuum_config.plasma.continuum_interaction.species = ["H I", "Ti II"] | ||
continuum_config.plasma.nlte_ionization_species = [] | ||
|
||
return continuum_config |
Empty file.
Oops, something went wrong.