Skip to content

CoordinateMatch for WCS#3

Closed
sholmbo wants to merge 1 commit intoemirkmo:wcs_fixfrom
sholmbo:emir_wcs_fix
Closed

CoordinateMatch for WCS#3
sholmbo wants to merge 1 commit intoemirkmo:wcs_fixfrom
sholmbo:emir_wcs_fix

Conversation

@sholmbo
Copy link
Copy Markdown

@sholmbo sholmbo commented Jan 25, 2021

I'm not sure it will work just like that, but I think so.

The xy and rd inputs for CoordinateMatch should be lists of pairs of coordinates,
xy = [(x0, y0), (x1, y1), (x2, y2), ... ]
rd = [(ra0, dec0), (ra1, dec1), (ra2, dec2), ... ]
when called it should return sets of matching indices which, when unzipped, gives two list of matching indices,
i_xy, i_rd = list(zip(*cm()))
so the coordinates of xy[i_xy[0]] matches the coordinates of rd[i_rd[0]] and so on.

@sholmbo sholmbo closed this Jan 27, 2021
emirkmo pushed a commit that referenced this pull request Apr 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant