Re: Line algorithim for python and numeric

2006-10-13 Thread Theerasak Photha
On 10/13/06, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > Theerasak Photha wrote: > > > I'm not in kolluge yet and I just learned about linear interpolation > > today---although I don't think it would necessarily apply to this > > problem, where the increments set by the grid might be more discrete >

Re: Line algorithim for python and numeric

2006-10-13 Thread Fredrik Lundh
Theerasak Photha wrote: > I'm not in kolluge yet and I just learned about linear interpolation > today---although I don't think it would necessarily apply to this > problem, where the increments set by the grid might be more discrete > than the line itself that's usually solved by stepping along

Re: Line algorithim for python and numeric

2006-10-13 Thread Theerasak Photha
On 10/13/06, Paul McGuire <[EMAIL PROTECTED]> wrote: > "Theerasak Photha" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > On 13 Oct 2006 07:33:17 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]> > > wrote: > >> Hi everyone, > >> > >> I'm wondering if anyone knows of a way to extract

Re: Line algorithim for python and numeric

2006-10-13 Thread Paul McGuire
"Paul McGuire" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > "Tim Chase" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] I'm wondering if anyone knows of a way to extract data from a numeric array along a line. I have a gridded dataset which I would like

Re: Line algorithim for python and numeric

2006-10-13 Thread Paul McGuire
"Tim Chase" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >>> I'm wondering if anyone knows of a way to extract data from a numeric >>> array along a line. I have a gridded dataset which I would like to be >>> able to choose two points and extract a 1-d array of the data values >>>

Re: Line algorithim for python and numeric

2006-10-13 Thread Paul McGuire
"Theerasak Photha" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On 13 Oct 2006 07:33:17 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]> > wrote: >> Hi everyone, >> >> I'm wondering if anyone knows of a way to extract data from a numeric >> array along a line. I have a gridded data

Re: Line algorithim for python and numeric

2006-10-13 Thread Tim Chase
>> I'm wondering if anyone knows of a way to extract data from a numeric >> array along a line. I have a gridded dataset which I would like to be >> able to choose two points and extract a 1-d array of the data values >> along the line between the two points. Any ideas? > > Are these all 45 degr

Re: Line algorithim for python and numeric

2006-10-13 Thread Theerasak Photha
On 13 Oct 2006 07:33:17 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi everyone, > > I'm wondering if anyone knows of a way to extract data from a numeric > array along a line. I have a gridded dataset which I would like to be > able to choose two points and extract a 1-d array of the d