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

Home » Public Forums » archive » Re: matching coordinates
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: matching coordinates [message #55075 is a reply to message #55071] Sun, 29 July 2007 06:53 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
jradavenport@gmail.com writes:

> Hello, I'm a long time lurker of this group, and finally have a
> problem I can't solve efficiently enough! I have coordinates for stars
> (RA and DEC for us astronomers out there), from two sources. i.e.
> (x1,y1) and (x2,y2). These lists are huge, like 150k for one and
> 5million in the other (a lot of stars!). I need to find the matches
> from these catalogs within a tolerance. I've tried a few programs
> I've found online (close_match_radec for instance) and they have not
> given me results I believe (multiple matches and such). Here is some
> horrible code I wrote just now which solves the problem VERY slowly:

Here is an article that might help:

http://www.dfanning.com/code_tips/matchlists.html

For background, you might want to read the precursor
article, and one of my personal favorites:

http://www.dfanning.com/code_tips/slowloops.html

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Runtime error woes
Next Topic: Path/Directory String

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

Current Time: Wed Oct 08 18:15:22 PDT 2025

Total time taken to generate the page: 0.00433 seconds