-
Notifications
You must be signed in to change notification settings - Fork 9
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
Calculating the reddened bolometric luminosity #105
Comments
There is a function for that :-). You can use |
Ooh! Sorry and thanks. (To be complete, I guess it would be good if the docstring of Once I have a |
The percentiles can be calculated as |
Thanks! Something like the following?
For the benefit of the others, feel free to correct this code for style or speed… And ultimately, maybe the option of an extra row and colum in the corner plot could be a sensible one 😉, especially since one could see the correlations. It would also have the advantage of using directly the full sampling of the posterior; I called this code twice with 1234 samples (more than one might normally use for plotting, for instance) and got:
and
i.e., I-need-to-go-through-the-paper-again-and-make-numbers-match kind of differences… 🙂. |
Looks good! You have become familiar with Python I see :-). The spectra are interpolated twice (i.e. with Instead of using |
Thanks for the feedback… Well, it did take me long-ish to come up with that and it does not quite feel elegant.
Indeed already with 1000 spectra it was taking some time, and I am worried about the variance… Are those not good reasons for a built-in feature 😉? |
The |
Hmm, now this is getting advanced for me… This is as far as I got, and playing around did not help:
P.s.: I renamed |
Perhaps something like this? I didn't test
|
When fitting atmospheric models with added extinction, would it be possible to report (in the corner plot, to screen, etc.) the reddened bolometric luminosity of the photospheric part only? Currently,
species
gives the intrinsic L_bol, which is physical and practical, but for comparing to other analyses that might or might not include extinction, it would be also practical to have the "observed" L_bol, however not including the extra black body component if there is one. Of course, the user could do this "by hand" by integrating the reddened atmospheric models but that is a bit involved…Thanks if this is possible and/or easy!
The text was updated successfully, but these errors were encountered: