comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » adding lines of an image together
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
adding lines of an image together [message #67399] Mon, 27 July 2009 13:42
Barbara is currently offline  Barbara
Messages: 17
Registered: July 2009
Junior Member
For my research, I need to be able to add/condense lines of a fits
image to be able to plot it. It can be up to 100 lines, and so I was
thinking I need a program. I was wondering if there was one already
created. If not, I was wondering how to set up a program to do this. I
have attempted to try and came up with this:

pro sum_rows, image, start, death, new
COMPILE_OPT idl2
current=start
while (current le death) do begin

new= image[*,start]++
current=new
endwhile

iplot, new
end

(where start is the row i want to start at and death is the place i
want to stop) Any advice/help would be appreciated!
[Message index]
 
Read Message
Previous Topic: JAVA Bridge Error Handling Question
Next Topic: Re: adding lines of an image together

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 01:59:49 PDT 2025

Total time taken to generate the page: 0.09384 seconds