Home »
Public Forums »
archive »
IDL calculating elements in arrays plus there offsets
IDL calculating elements in arrays plus there offsets [message #70043] |
Mon, 08 March 2010 03:43 |
Will
Messages: 7 Registered: June 2004
|
Junior Member |
|
|
Hi
sorry I don't think the heading was very clear there.
I have loaded a group of arrays (jpeg files) into a seperate float
array, and again with another group of files I have done the same
thing. I am now trying to have the two arrays perform a subtraction
calculation with one another and what I want to do is have the arrays
do this with each other until they have did the calculation with every
element. i.e
it does the first calculation, then offsets the elements by one to the
right and does the next calculation then repeats this until it has
done every element in the array.
I was curious as to how to do this successflly I am currently trying
to use a FOR loop after my Repeat loop failed. I have the maths I need
here but I don't know how to access the subscripts of my array. I have
inputted all the files into an array using the FLOAT command. the
likes of FLTARR just keeps saying that I have more than 8 dimensions
and hence it won't work.
Any ideas guys?
Thanks
Will
|
|
|
Current Time: Wed Oct 08 17:32:04 PDT 2025
Total time taken to generate the page: 0.00500 seconds