On Tue, May 29, 2012 at 11:03 AM, Stéfan van der Walt <[email protected]> wrote: > On Mon, May 28, 2012 at 11:53 AM, Travis Oliphant <[email protected]> wrote: >> I could see these functions going into scipy.ndimage but again because they >> are not necessarily just image processing functions, and the fact that they >> are so simple, perhaps they are best put into NumPy itself. > > I'm wondering about the general applicability of these functions. Can > anyone suggest some use cases?
An example from solid state physics: If you have a spin chain with some long-range interaction and you have the known, dense, coupling matrix J, sum_angle(J, pi/4) gives you a view at the distance dependence of the interaction. -- Robert Jordens. _______________________________________________ NumPy-Discussion mailing list [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion
