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

Home » Public Forums » archive » Re: Matching 2 lists
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 2 lists [message #72223 is a reply to message #72222] Sat, 21 August 2010 08:28 Go to previous messageGo to previous message
Gray is currently offline  Gray
Messages: 253
Registered: February 2010
Senior Member
On Aug 21, 11:16 am, David Baker <de...@le.ac.uk> wrote:
> On Aug 21, 4:11 pm, David Baker <de...@le.ac.uk> wrote:
>
>> Hi there,
>>             I'm wondering if someone can help me. I'm trying to match
>> two lists of stars together. Where I differ from the standard 1-1
>> match that match_2d.pro does so well is that I would like to be able
>> to compute a 1-many match. I.e find any star in list B that is a
>> possible match to a single star in list A not just the closest.
>
>> Many thanks for any help that someone can provide
>
>> David
>
> -oh and just in case, the coordinates are just x and y pixel
> coordinates not ra and dec. It's just simple euclidean distance that
> I'm using to set the search radius

If you're using IDL 8.0, you could modify match_2d to return a list of
length n_a, where each element is an array of indices into b.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: mode of a continuous distribution
Next Topic: Re: web apps and idl

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

Current Time: Fri Oct 10 23:09:38 PDT 2025

Total time taken to generate the page: 1.20403 seconds