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

Home » Public Forums » archive » match_2d
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
match_2d [message #66220] Mon, 20 April 2009 06:40 Go to previous message
vino is currently offline  vino
Messages: 36
Registered: March 2008
Member
Hello everyone,

I am using match_2d from J.D.Smith's library (http://
tir.astro.utoledo.edu/idl/match_2d.pro) to match between two
catalogues. Below is what i am doing :



IDL> print,star_radec1
242.759 -29.4162
252.666 -31.6364
250.523 -30.5292
244.782 -20.2181
IDL> print,star_radec2
252.666 -31.6364
250.523 -30.5292
267.782 -22.9120
IDL> match=match_2d(star_radec1(0,*),star_radec1(1,*),star_radec2
(0,*),star_radec2(1,*),.02,MATCH_DISTANCE=md)
IDL> print,match
-1 -1 -1 -1
IDL> print,md
5.98943e-22 3.62562 2.23579e-17 2.62037e-22

Eventhough there are 3 objects matching, why is it that match_2d is
not finding them?? I shall be very grateful for any pointers...

Thanks and regards,

Vino
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to detect ellipse intersection
Next Topic: Re: How to detect ellipse intersection

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

Current Time: Wed Oct 08 18:24:11 PDT 2025

Total time taken to generate the page: 0.00238 seconds