agnwinds/python — pull request #74 by jhmatthews (2014-03-21 16:07:30+00:00)
Title: Fix for Bug #73. Now use frequency shifted to frame of cell then averaged

This is the first initial fix for Bug #73.

We now choose doppler shift the frequency of the photon to the rest frame of the cell in question when calculated the continuum opacities. These opacities are use to work out both the heating contribution and the weight reduction of the photon in question.

Note that as KSL pointed out, this is not the best we can do and we may cross an edge over the frequency difference between the initial position and the initial position + ds. This may want to be improved to have something which checks if an edge has been crossed.