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

Home » Public Forums » archive » saving an output from the find.pro script
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: saving an output from the find.pro script [message #90093 is a reply to message #90092] Sun, 25 January 2015 05:02 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
anes.tziamtzis@gmail.com writes:

> Well actually this where i found the script but it seems i don't understand how to save the file.
>
> I am using the following:
>
> ;Read the image
> fits_read, '4U1543-624_1_sh.fits', image1, image_header1
>
> Then use
> find,image1
> and then i have this
> PRINT='image1.prt'
>
> The find.pro script asks for the desired FWHM, background, etc. and it prints on the screen the values. No file is create though. What am i missing?

I think you are missing the fact that the PRINT in this case is a
keyword, not a command. (Bad choice of keyword name for whoever wrote
the program.):

Find, image, Print='myfile.txt'

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL inverse matrix problem??
Next Topic: Writing a dat file and opening in ENVI

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

Current Time: Wed Oct 08 16:04:04 PDT 2025

Total time taken to generate the page: 0.00216 seconds