stellar atmosphere is the layer where the radiation field is not isotropic, and the photon flux has a net radial component. this occurs where 
To make models of stellar spectra and determine the outer boundary conditions we need to consider how radiation from the bottom flows through the atmospheric layer and consequently how this layer stratifies, determining the outer boundary pressure and temperature.
This requires us to look at the Radiative Transfer of anisotripc radiation fields.
Photosphere - surface where the bulk of the radiation escapes and which corresponds with the visible surface of the star. Approximated as a single surface at optical depth of 
Here we have defined the optical depth as
where we have the average opacity over the atmosphere (r > 
We need to consider in the stellar atmosphere is how radiation coming from the photosphere flows through the overlaying gas, and how this impacts the observable radiation itself.
The radiation coming out from the photosphere is a black body, it is isotropic.
so if you think of the atmosphere as a slab of gas with a thickness 
which has the dimensions of [
This would be constant as photons propagate along a path of length ds along 
and process that can remove photons:
Moreover, 
this is not the case for stellar atmosphere), so we can write down the
equation of radiative transfe (compare with HKT 4.4) as
The fact that photons propagate at the speed of light 
The density 
The specific intensity at the bottom of the atmosphere is related to
the photospheric emission by:
that is the black body flux 
intensity over the solid angles.
This last expression is going to be useful to connect the physics in
the atmosphere with the interior, since we define the photosphere to
have a flux 
1. Steady state without emission - Assume: absence of an explicit time dependence (
where we introduce the definition of specific optical depth 
Steady state with emission and absorption cancelling each other
With the definition of 
where in the last step we define the source function 
Steady state with emission and absorption cancelling each other
Eddington gray atmosphere - provides an analytic 
Also can calculate the pressure needed at such boundary to have hydrostatic equilibrium.
plane parallel atmosphere, that is we neglect the curvature of the stellar atmosphere, which is acceptable if its radius is much larger than the length scale of interest at any point in it.
We can now integrate this in 
which can be solved analytically (multiply by 
where the r.h.s. is integrated from a certain optical depth 
We can recover the 
We can also define the radiation energy density 
w.r.t. 
change variable to 
We can also define the average specific intensity as
so that 
Now the total radiative gray flux in the atmosphere has to be
constant, 
must come out! So this equations tells us 
We can also take 
The r.h.s. is constant, so this can be integrated to give 
We have an expression for the source function:
Substituting for S in the solution for I we get:
To determine the constant of integration, we can our definition of F using the solution for 
We obtained this constant imposing the flux to come from 
With this constant, we specified the source function 
From our source function expression we have:
but also, assuming that the atmosphere is also in LTE (including radiation!), 
this is the Eddington 
In the stellar atmosphere, 
in this approach (the Eddington approximation) the photosphere correspond to 
it is important to remember that the photosphere is an idealization, and nothing that special occurs at 
To find the outer boundary pressure, we need to integrate downward from 
the gravity is constant, or in other words, we neglect the atmosphere's "self-gravity" since the bulk of the mass is inside its inner boundary.
also assume that 
where 
Together with 
A "classic" generalization of this atmospheric model is the generic class of gray atmospheres where the constant of integration is not a constant, but a function of 
In class: Work on ICA here with groups per usual. Discuss conceptual questions together and prepare answers to share at the end of class.
After Class: Not for Credit
Note: ICAs will be shorter with the goal of: reducing focus on coding, increasing time for discussion and interpretation of results / plots in groups and as a class.