sot / proseco

Probabilistic star evaluation and catalog optimization
https://sot.github.io/proseco
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Add a test of calc_p_safe for two identical catalogs #322

Closed taldcroft closed 4 years ago

taldcroft commented 4 years ago

Description

For two catalogs that came about in different ways but with the same stars and halfwidths, confirm that the p_safe values are identical. Because the p_safe calculation is independent of how the catalog is constructed this must succeed, but we check it anyway.

Also fixes an unrelated leftover comment.

Testing