X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 18 Oct 2005 02:36 PM by  anon
for loop
 0 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
18 Oct 2005 02:36 PM
    IDL does seem to like this loop and I'm not sure why. I am trying to find the median counts for an im image and plot. I get an error saying that median needs to be in the form of a float...? pro hst_1,file=file im=readfits(file) im=fltarr(1024,1024) for i=0,1023 do begin for j=0,1023 do begin med(i,j)=median(im(i,j)) im2=im-med plot,im2 endfor endfor end
    You are not authorized to post a reply.