Closed jaladh-singhal closed 2 years ago
I looked into this and we are definitely calculating it in the correct order. I think my changes in #7 highlight what is going on, so I am going to have that PR close this issue.
EDIT: Also, the short answer to the TODO is that I_nu[55]
is the intensity emitted from the outer surface of the star. We were comparing it to the blackbody from the innermost shell that we considered for seemingly no reason. While the graph does resemble the inner shell blackbodies more than the outer shell, it is really around cells 14-16 that the blackbody resembles the output intensity -- this is because this is where one might consider the photosphere to begin, not all the way at the inner boundary that we consider.
I looked into this and we are definitely calculating it in the correct order. I think my changes in https://github.com/tardis-sn/stardis/pull/7 highlight what is going on, so I am going to have that PR close this issue.
Yes @smithis7, we figured direction was right - I should have closed this earlier.
EDIT: Also, the short answer to the TODO is that I_nu[55] is the intensity emitted from the outer surface of the star. We were comparing it to the blackbody from the innermost shell that we considered for seemingly no reason. While the graph does resemble the inner shell blackbodies more than the outer shell, it is really around cells 14-16 that the blackbody resembles the output intensity -- this is because this is where one might consider the photosphere to begin, not all the way at the inner boundary that we consider.
Thanks for explaining. It makes sense.
As Tiago Pereira said:
Check TODO in
star_test
notebook - is Temp in BB (source function) in correct order?