[Ifeffit] Purple Red E Derivatives

2011-02-22 Thread Andrew Korinda
While working in Athena today I noticed something peculiar while looking at the derivative plots of mu(E) data. When I plot the current group (red button) the plot can be spiky. However, when I plot as marked group (purple button) everything is much smoother and more rounded. Smoothed data will do

Re: [Ifeffit] Purple Red E Derivatives

2011-02-22 Thread Bruce Ravel
On Tuesday, February 22, 2011 05:03:02 pm Andrew Korinda wrote: While working in Athena today I noticed something peculiar while looking at the derivative plots of mu(E) data. When I plot the current group (red button) the plot can be spiky. However, when I plot as marked group (purple button)

Re: [Ifeffit] Purple Red E Derivatives

2011-02-22 Thread Matt Newville
Hi Bruce, Matthew, Oh, deriv() (and smooth()) are not nearly as sophisticated as what Matthew suggests. They are simply applied to a single array, sequentially, without regard to the x axis (as, in fact, it does not know what x might be): Deriv would translate (sorry for the python) to def