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 #90094 is a reply to message #90093] Sun, 25 January 2015 05:50 Go to previous message
anes.tziamtzis is currently offline  anes.tziamtzis
Messages: 9
Registered: January 2015
Junior Member
On Sunday, January 25, 2015 at 9:02:34 PM UTC+8, David Fanning wrote:
> 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.")


Thanks a lot David. I guess this is the difference between knowledge (you) and ignorance (me).
[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 11:47:23 PDT 2025

Total time taken to generate the page: 0.00393 seconds