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 #70052 is a reply to message #69981] Sat, 06 March 2010 08:12 Go to previous messageGo to previous message
Gray is currently offline  Gray
Messages: 253
Registered: February 2010
Senior Member
On Mar 5, 10:41 am, wlandsman <wlands...@gmail.com> wrote:
> 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

Okay... From the writeup of find.pro it seemed that that keyword
should be the FWHM of the filter (as in, the width of the filter in
wavelength). How do I figure out the FWHM of my sources w/o using
find to pick them out?
[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 04:43:24 PDT 2025

Total time taken to generate the page: 2.47862 seconds