Fabian Braennstroem wrote:
> Hi Robert,
>
> * Robert Kern <[EMAIL PROTECTED]> wrote:
>>Are you aware that numpy array indices start with 0, not 1?
>>
>>You will probably want to ask numpy questions on the numpy-discussion mailing
>>list:
>>
>> http://www.scipy.org/Mailing_Lists
>
> I thought a
Hi Robert,
* Robert Kern <[EMAIL PROTECTED]> wrote:
> Fabian Braennstroem wrote:
>> Hi,
>>
>> I have a 'simple' problem with a multidimension array in a
>> for loop. It looks like this:
>>
>> wert= zeros([127,2])
>> wert1= zeros(127)
>> m=1
>> l=1
>>
>> for pos in [pos1,pos2,pos3]:
>> for
Fabian Braennstroem wrote:
> Hi,
>
> I have a 'simple' problem with a multidimension array in a
> for loop. It looks like this:
>
> wert= zeros([127,2])
> wert1= zeros(127)
> m=1
> l=1
>
> for pos in [pos1,pos2,pos3]:
> for i in range(1,125):
> wert[l,m]=
> probe1.GetOutput().GetPo
Hi,
I have a 'simple' problem with a multidimension array in a
for loop. It looks like this:
wert= zeros([127,2])
wert1= zeros(127)
m=1
l=1
for pos in [pos1,pos2,pos3]:
for i in range(1,125):
wert[l,m]= probe1.GetOutput().GetPointData().GetScalars().GetTuple1(i);
#wert1[i]=