[SciPy-User] Can I get the "rings" of a 2D array?
Charles R Harris
Mon Apr 12 18:16:10 CDT 2010
On Mon, Apr 12, 2010 at 4:55 PM, Jeremy Conlin <email@example.com> wrote:
> I need to get the "rings" of a 2D array; i.e. the first ring would be
> the first and last column in addition to the first and last row, the
> second ring would be the second and second-from-last row and the
> second and second-from-last column---except for what is not in the
> first ring. Is there a way to slice an array to get this data?
So will the rings be different sizes or all the same size with the other
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SciPy-User