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
Re: Works on Linux, not on MacOS [message #70058 is a reply to message #69981] Fri, 05 March 2010 07:41 Go to previous messageGo to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
On Mar 4, 10:59 am, Gray <grayliketheco...@gmail.com> wrote:
> Hi all,
> 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> print, x[0:9]
>          -NaN         -NaN         -NaN         -NaN         -
> NaN         -NaN         -NaN         -NaN         -NaN         -NaN
>
> What is going on??

You are telling find.pro ( http://idlastro.gsfc.nasa.gov/ftp/pro/idlphot/find.pro)
that the approximate FWHM of sources on your image is 0.02
pixels. This is not a plausible value, and results in the spurious
centroid positions.

So why does it work on your Linux machine? I suspect you have an
older version of find.pro that used a more simplistic (but evidently
more robust) centroid algorithm. --Wayne
[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 14:47:59 PDT 2025

Total time taken to generate the page: 0.80300 seconds