quatrope / astroalign

A tool to align astronomical images based on asterism matching
MIT License
140 stars 44 forks source link

Use matrix_transform #45

Closed martinberoiz closed 4 years ago

martinberoiz commented 4 years ago

Replace the two lines: https://github.com/toros-astro/astroalign/blob/aa1dc0c23efa21fb1449f303b07c82cb9bcd8175/astroalign.py#L320-L321

with a call to matrix_transform

t_vertex_pred = matrix_transform(s_vertex, best_t.params)

(should be t_vertex_pred, not s_vertex_pred)