-
-
Notifications
You must be signed in to change notification settings - Fork 402
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
NLTE fixes - discussion needed before merge - relates to #109 #112
Conversation
@@ -92,7 +92,9 @@ class BasePlasmaArray(object): | |||
""" | |||
|
|||
@classmethod | |||
def from_abundance(cls, abundance_dict, density, atom_data, time_explosion, nlte_config=None, saha_treatment='lte'): | |||
def from_abundance(cls, abundance_dict, density, atom_data, time_explosion, | |||
nlte_config=None, ionization_mode='lte', |
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.
shouldn't this be 1
instead of None
. This is like in #53
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.
for i in range(20):
print i
Tests are now in place. Bug fixes have been attempted. This version should now be considered possible for merging. |
Plasma/fix nlte tests
fixing up the NLTE tests
passed: Travis says "yes" |
NLTE fixes - discussion needed before merge - relates to #109
summary:
(calculate_nlte_level_populations)
longer handled as negative absorption (correction factor removed
from calculate_nlte_level_populations / reformulated terms)
LTE check made using this version He I and He II, but reproducible test case needed - this needs to be discussed/explained how to insert set up.
@wkerzendorf look at the change proposed in the formulation of the rate equations. Does this look problematic? This relates to the suggestion in #109
Do not recommend merging this until it has been discussed fully.