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

Home » Public Forums » archive » Works on Linux, not on MacOS
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Works on Linux, not on MacOS [message #69981] Thu, 04 March 2010 07:59 Go to previous message
Gray is currently offline  Gray
Messages: 253
Registered: February 2010
Senior Member
Hi all,

I've come across a very strange problem. I'm using Astrolib's FIND
procedure to look for objects in an image. When I run my program on
my Linux work computer, it works; when I run it on my personal
MacBook, it doesn't.

I'm using the same version of IDL and the same version of FIND in both
cases. Here's my example code (using the same fits file, which was
generated on the Linux machine):

LINUX:
IDL> img = readfits('resid_BrGamma_con.fits',/silent)
IDL> find, img, x,y,f,s,r,5.d2,0.02,[-1.0,1.0],[0.2,1.0],/silent
IDL> help, x
X FLOAT = Array[228]
IDL> print, x[0:9]
1693.41 201.085 248.418 2107.43 2089.72
2120.00
1641.70 1942.30 688.136 882.025

MAC:
IDL> img = readfits('resid_BrGamma_con.fits',/silent)
IDL> find, img, x,y,f,s,r,5.d2,0.02,[-1.0,1.0],[0.2,1.0],/silent
IDL> help, x
X FLOAT = Array[249]
IDL> print, x[0:9]
-NaN -NaN -NaN -NaN -
NaN -NaN -NaN -NaN -NaN -NaN


What is going on??

Thanks for your help, as always :)

--Gray
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: percent disagreement
Next Topic: Re: percent disagreement

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

Current Time: Sun Oct 12 09:58:44 PDT 2025

Total time taken to generate the page: 1.75712 seconds